Skip to content

doc aliases only apply to the final element of the searched path #141475

Open
@lolbinarycat

Description

@lolbinarycat

this can cause issues if you are looking for an associated item by the alias

repro

search ptr::wrapping_add

expected result

pointer::wrapping_add is in the results

acrual result

alias is ignored, search results only contain types with the literal string "ptr" in their name.

Metadata

Metadata

Assignees

No one assigned

    Labels

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