rustdoc: items in deprecated modules should count as deprecated for search ranking
Open
Nobody has claimed this yet.
A-rustdoc-search
C-enhancement
T-rustdoc-frontend
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
reproduction steps
- open standard library docs
- search
u32 -> Option<char>orchar::from_u32
expected outcome
deprecated std::char::from_u32 shows after all the associated methods of char.
actual outcome
std::char::from_u32 is the first result.
rustdoc version
rustdoc 1.89.0-nightly (255aa2208 2025-06-19)
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 ranking in the standard library docs by searching u32 -> Option<char> or char::from_u32 with the reported rustdoc version. Trace rustdoc's search-ranking handling for deprecated modules, then verify that std::char::from_u32 appears after the associated methods of char.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100