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
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