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