[rustdoc search] trait associated items not index by search like trait methods
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
Reproduction Steps
search standard library for std::str::Chars::Item
Expected Outcome
results link to Chars::Item
Actual Outcome
No results
Version
rustdoc 1.93.0-nightly (27b076af7 2025-11-21)
Additional Details
Note that searching for std::str::Chars::next does work properly
Originally found when trying to search the object crate to figure out the type of <File as Object>::Symbol by searching File::Symbol.
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.
Research direction
Reproduce the issue by searching the standard library through rustdoc for std::str::Chars::Item, then compare it with the working std::str::Chars::next search. Trace rustdoc's search handling for trait methods and associated items; done means the search results link to Chars::Item and equivalent associated-item searches work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100