Get rid of HIR const checker
This commit is contained in:
parent
75703c1a78
commit
01ff36a6b9
38 changed files with 151 additions and 604 deletions
|
@ -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) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue