-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
when searching through crates with many complicated and nested types, it is often useful to know how you can get an instance of some type. this is partially covered by the -> SomeType
syntax, but in codebases where you are expected to directly access fields instead of using getter methods, this is insufficient.
there should be a syntax to search for all types that use a given type in a field (not necessarily a struct, it could also be a union or enum).
tangentially related: #118912
Metadata
Metadata
Assignees
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.