diff options
| author | Michael Goulet <michael@errs.io> | 2024-11-22 02:31:42 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-11-22 02:32:26 +0000 |
| commit | 01ff36a6b9e9134421c4e353ccbc904fdfe53be6 (patch) | |
| tree | 7965e79810df599931667bcb5465ed14d56b576c /compiler/rustc_middle/src/query/mod.rs | |
| parent | 75703c1a78c3cd99fa1347b237f3966fb8860e98 (diff) | |
| download | rust-01ff36a6b9e9134421c4e353ccbc904fdfe53be6.tar.gz rust-01ff36a6b9e9134421c4e353ccbc904fdfe53be6.zip | |
Get rid of HIR const checker
Diffstat (limited to 'compiler/rustc_middle/src/query/mod.rs')
| -rw-r--r-- | compiler/rustc_middle/src/query/mod.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index 76338be33aa..20d4a13b0c0 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -958,11 +958,6 @@ rustc_queries! { desc { |tcx| "checking for unstable API usage in {}", describe_as_module(key, tcx) } } - /// Checks the const bodies in the module for illegal operations (e.g. `if` or `loop`). - query check_mod_const_bodies(key: LocalModDefId) { - desc { |tcx| "checking consts in {}", describe_as_module(key, tcx) } - } - /// Checks the loops in the module. query check_mod_loops(key: LocalModDefId) { desc { |tcx| "checking loops in {}", describe_as_module(key, tcx) } |
