summary refs log tree commit diff
path: root/compiler/rustc_middle/src/query
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-04-15 18:56:44 -0400
committerMichael Goulet <michael@errs.io>2024-04-17 22:18:27 -0400
commit6abf1aae2438520780ef463db4c0cbdccc7ca4eb (patch)
tree9b88e70834d0911b3df5bc1fe972fb499a010b18 /compiler/rustc_middle/src/query
parent9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9 (diff)
downloadrust-6abf1aae2438520780ef463db4c0cbdccc7ca4eb.tar.gz
rust-6abf1aae2438520780ef463db4c0cbdccc7ca4eb.zip
has_typeck_results doesnt need to be a query
Diffstat (limited to 'compiler/rustc_middle/src/query')
-rw-r--r--compiler/rustc_middle/src/query/mod.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs
index 0d625ff0fae..c58eb461585 100644
--- a/compiler/rustc_middle/src/query/mod.rs
+++ b/compiler/rustc_middle/src/query/mod.rs
@@ -975,10 +975,6 @@ rustc_queries! {
         cache_on_disk_if { true }
     }
 
-    query has_typeck_results(def_id: DefId) -> bool {
-        desc { |tcx| "checking whether `{}` has a body", tcx.def_path_str(def_id) }
-    }
-
     query coherent_trait(def_id: DefId) -> Result<(), ErrorGuaranteed> {
         desc { |tcx| "coherence checking all impls of trait `{}`", tcx.def_path_str(def_id) }
         ensure_forwards_result_if_red