doc aliases only apply to the final element of the searched path
Open
@lolbinarycat is already working on this.
Since Nov 6, 2025.
A-doc-alias
A-rustdoc-search
T-rustdoc
T-rustdoc-frontend
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
this can cause issues if you are looking for an associated item by the alias
repro
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.