-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
rustdoc search: find types containing some other type #130204
Copy link
Copy link
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.
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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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
-> SomeTypesyntax, 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