about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/query/mod.rs
diff options
context:
space:
mode:
authorKyle Matsuda <kyle.yoshio.matsuda@gmail.com>2023-02-07 01:29:48 -0700
committerKyle Matsuda <kyle.yoshio.matsuda@gmail.com>2023-02-16 17:05:56 -0700
commitc183110cc26abb506dba0a4def917735fb6eb6f0 (patch)
tree5f4a6764ed381c957728b9b11341f58eff93686b /compiler/rustc_middle/src/query/mod.rs
parentd822b97a27e50f5a091d2918f6ff0ffd2d2827f5 (diff)
downloadrust-c183110cc26abb506dba0a4def917735fb6eb6f0.tar.gz
rust-c183110cc26abb506dba0a4def917735fb6eb6f0.zip
remove bound_type_of query; make type_of return EarlyBinder; change type_of in metadata
Diffstat (limited to 'compiler/rustc_middle/src/query/mod.rs')
-rw-r--r--compiler/rustc_middle/src/query/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs
index 4b34f6b4881..1872b713876 100644
--- a/compiler/rustc_middle/src/query/mod.rs
+++ b/compiler/rustc_middle/src/query/mod.rs
@@ -152,7 +152,7 @@ rustc_queries! {
     /// to an alias, it will "skip" this alias to return the aliased type.
     ///
     /// [`DefId`]: rustc_hir::def_id::DefId
-    query type_of(key: DefId) -> Ty<'tcx> {
+    query type_of(key: DefId) -> ty::EarlyBinder<Ty<'tcx>> {
         desc { |tcx|
             "{action} `{path}`",
             action = {