We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb5c437 commit dd71ce3Copy full SHA for dd71ce3
compiler/rustc_middle/src/query/mod.rs
@@ -124,7 +124,8 @@ rustc_queries! {
124
separate_provide_extern
125
}
126
127
- /// Records the type of every item.
+ /// Returns the [`Ty`] of the given [`DefId`]. If the [`DefId`] points to an alias, it will
128
+ /// "skip" this alias to return the aliased type.
129
query type_of(key: DefId) -> Ty<'tcx> {
130
desc { |tcx|
131
"{action} `{path}`",
0 commit comments