[rustdoc search] provided methods on types are not described as trait methods
Open
Nobody has claimed this yet.
A-rustdoc-search
C-bug
T-rustdoc
T-rustdoc-frontend
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
Reproduction Steps
- search
core::cmp::PartialEq::ne
Expected Outcome
- "trait method
core::cmp::PartialEq::ne"
Actual Output
- "method
core::cmp::PartialEq::ne"
Version
rustdoc 1.91.0-nightly (a1208bf76 2025-09-03)
Additional Details
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
Start by reproducing the core::cmp::PartialEq::ne search in rustdoc, using the hosted documentation or cargo doc entry point mentioned in the issue. Trace how the search result is labeled and verify that provided methods are described as trait methods, with the result showing trait method instead of only method.
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
- Clearly specified
- Newbie friendliness
- 45/100