Skip to content

[rustdoc search] trait associated items not index by search like trait methods #149224

@lolbinarycat

Description

@lolbinarycat

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 (27b076a 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-searchArea: Rustdoc's search featureC-bugCategory: This is a bug.T-rustdocRelevant 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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions