Rename const eval queries to reflect the validation changes

This commit is contained in:
Oliver Scherer 2020-08-10 15:11:40 +02:00
parent 40c2087eb5
commit 69a6be73e6
6 changed files with 20 additions and 27 deletions

View file

@ -889,7 +889,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
} else {
self.param_env
};
let val = self.tcx.const_eval_raw(param_env.and(gid))?;
let val = self.tcx.const_eval(param_env.and(gid))?;
self.raw_const_to_mplace(val)
}