rename Validator → Checker

This commit is contained in:
Ralf Jung
2021-07-24 13:27:17 +02:00
parent 35d4d4ca14
commit 83bc657e25
2 changed files with 6 additions and 6 deletions

View File

@@ -240,7 +240,7 @@ fn mir_const_qualif(tcx: TyCtxt<'_>, def: ty::WithOptConstParam<LocalDefId>) ->
let ccx = check_consts::ConstCx { body, tcx, const_kind, param_env: tcx.param_env(def.did) };
let mut validator = check_consts::check::Validator::new(&ccx);
let mut validator = check_consts::check::Checker::new(&ccx);
validator.check_body();
// We return the qualifs in the return place for every MIR body, even though it is only used