about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/query
diff options
context:
space:
mode:
authorOli Scherer <github333195615777966@oli-obk.de>2025-06-03 15:06:04 +0000
committerOli Scherer <github333195615777966@oli-obk.de>2025-06-03 15:16:51 +0000
commit82ed50c2943661abb664fe494d4c5209f8e1818c (patch)
tree4dc88792df2f1f85c7fff13657cd8ac95154f7ab /compiler/rustc_middle/src/query
parentb17dba45186c454576d0fc8fb93ecc65eb1a763a (diff)
downloadrust-82ed50c2943661abb664fe494d4c5209f8e1818c.tar.gz
rust-82ed50c2943661abb664fe494d4c5209f8e1818c.zip
Run wfcheck in one big loop instead of per module
Diffstat (limited to 'compiler/rustc_middle/src/query')
-rw-r--r--compiler/rustc_middle/src/query/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs
index 542653efd30..d900e16b005 100644
--- a/compiler/rustc_middle/src/query/mod.rs
+++ b/compiler/rustc_middle/src/query/mod.rs
@@ -1148,8 +1148,8 @@ rustc_queries! {
         desc { |tcx| "checking deathness of variables in {}", describe_as_module(key, tcx) }
     }
 
-    query check_mod_type_wf(key: LocalModDefId) -> Result<(), ErrorGuaranteed> {
-        desc { |tcx| "checking that types are well-formed in {}", describe_as_module(key, tcx) }
+    query check_type_wf(key: ()) -> Result<(), ErrorGuaranteed> {
+        desc { "checking that types are well-formed" }
         return_result_from_ensure_ok
     }