Skip to content

Type aliases cannot be used in type-based search #145508

@lolbinarycat

Description

@lolbinarycat

Code

std::num::NonZeroU32

Reproduction Steps

Expected Outcome

search should be equivalent to searching for NonZero<u32>.

Actual Output

NonZeroU32 is not recognized as a type.

Image

Version

rustdoc 1.91.0-nightly (cd7cbe8 2025-08-15)

Additional Details

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-searchArea: Rustdoc's search featureA-type-based-searchArea: Searching rustdoc pages using type signaturesC-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions