mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
rename Unevaluated to UnevaluatedConst
This commit is contained in:
parent
adc7e3e679
commit
26861fbd7f
2 changed files with 2 additions and 2 deletions
|
@ -195,7 +195,7 @@ fn is_value_unfrozen_expr<'tcx>(cx: &LateContext<'tcx>, hir_id: HirId, def_id: D
|
|||
|
||||
let result = cx.tcx.const_eval_resolve(
|
||||
cx.param_env,
|
||||
mir::Unevaluated::new(ty::WithOptConstParam::unknown(def_id), substs),
|
||||
mir::UnevaluatedConst::new(ty::WithOptConstParam::unknown(def_id), substs),
|
||||
None,
|
||||
);
|
||||
is_value_unfrozen_raw(cx, result, ty)
|
||||
|
|
|
@ -424,7 +424,7 @@ impl<'a, 'tcx> ConstEvalLateContext<'a, 'tcx> {
|
|||
.tcx
|
||||
.const_eval_resolve(
|
||||
self.param_env,
|
||||
mir::Unevaluated::new(ty::WithOptConstParam::unknown(def_id), substs),
|
||||
mir::UnevaluatedConst::new(ty::WithOptConstParam::unknown(def_id), substs),
|
||||
None,
|
||||
)
|
||||
.ok()
|
||||
|
|
Loading…
Reference in a new issue