rust-lang / rust-lang/rust

[rustdoc search] provided methods on types are not described as trait methods

Open
#146,213 3 comments 0 reactions 0 assignees View on GitHub

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

Expected Outcome

  • "trait method core::cmp::PartialEq::ne"

Actual Output

  • "method core::cmp::PartialEq::ne"
screenshot

Version

rustdoc 1.91.0-nightly (a1208bf76 2025-09-03)

Additional Details

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.