Skip to content

pub macro defined in submodule is shown at the wrong path #74355

Closed
@RalfJung

Description

@RalfJung

rustdoc is showing the raw_mut macro at the wrong path in libcore: https://doc.rust-lang.org/nightly/core/macro.raw_mut.html says core::raw_mut but really it is core::ptr::raw_mut (and the same goes for core::ptr::raw_const). Looks like pub macro is not handled correctly?

Cc @rust-lang/rustdoc

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-decl-macros-2-0Area: Declarative macros 2.0 (#39412)A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions