Skip to content

rustdoc: Bad handling of proc_macro's re-exported via use_extern_macros #49553

Closed
@Nemo157

Description

@Nemo157

If you define a proc-macro in one crate, then re-export it from another crate via the use_extern_macros feature the resulting documentation does not link to the macro correctly, and the tooltip has some weird details displayed in it:

link: ../proc_macro_re_export_proc_macro/macro.%7B%7BGlobalMetaData::Krate%7D%7D.html

screen shot 2018-04-01 at 11 27 56 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