-   Notifications  You must be signed in to change notification settings 
- Fork 13.9k
Closed
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: 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.Relevant 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.Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
Description
I would expect it to support all the same patterns that primitive:reference does, but nope! you can't really use it for anything except searching for the pointer type
some examples of things that work with one but not the other:
| works | does not work | 
|---|---|
| primitive:reference -> | primitive:pointer -> | 
| primitive:reference<u8> -> | primitive:pointer<u8> -> | 
| &u8 -> | *const u8 -> | 
| reference<mut, u8> -> | pointer<mut, u8> -> | 
Tested on 1.86.0 and latest nightly.
Metadata
Metadata
Assignees
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: 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.Relevant 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.Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.