RustDoc: Search should "follow" trait generics for parameter and return tabs #56386
Labels
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Repost from rust-lang/docs.rs#266
If I search the name of a trait, it would be nice to see matches for parameter and return tabs for functions that include that trait as a trait bound.
In the screenshot below, State is a trait of the kiss3d crate, and the render_with_state shown has <S: State> trait bounds on it, so it would be nice to see that function under the "In parameters" tab as well. Ditto for functions where the trait object is returned.
The text was updated successfully, but these errors were encountered: