Skip to content

rustdoc: Macros re-exported via use_extern_macro appear as a re-export #49554

Closed
@Nemo157

Description

@Nemo157

Most other items re-exported from an extern crate appear as if they're defined directly in the place they're re-exported from. For some reason macros are not currently treated the same way, they show up under the "Re-exports" heading and don't have their documentation summary shown. For futures this would be very useful for documenting the async/await macros in the facade.

Example (code here):

screen shot 2018-04-01 at 11 49 53 am

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-decl-macros-1-2Area: Declarative macros 1.2A-decl-macros-2-0Area: Declarative macros 2.0 (#39412)C-enhancementCategory: An issue proposing an enhancement or a PR with one.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