Skip to content

doc aliases don't work on reexports #96681

Closed
@GuillaumeGomez

Description

@GuillaumeGomez

For example with this code:

#[doc(alias = "->a")]
pub use ::std as x;
#[doc(alias = "->b")]
pub struct Foo;

We can't search for ->a but we can search for ->b.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-searchArea: Rustdoc's search featureC-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