@@ -24,7 +24,7 @@ use rustc::util::common::ErrorReported;
24
24
use rustc:: util:: nodemap:: NodeMap ;
25
25
26
26
use rustc:: mir:: interpret:: { PrimVal , Value , PtrAndAlign , HasMemory , EvalError } ;
27
- use rustc:: mir:: interpret:: { CompileTimeFunctionEvaluator , EvalContext } ;
27
+ use rustc:: mir:: interpret:: { CompileTimeEvaluator , EvalContext } ;
28
28
use rustc:: mir:: Field ;
29
29
use rustc:: mir:: interpret:: { Place , PlaceExtra } ;
30
30
use rustc_data_structures:: indexed_vec:: Idx ;
@@ -754,7 +754,7 @@ pub(crate) fn const_eval<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
754
754
}
755
755
756
756
fn check_ctfe_against_miri < ' a , ' tcx > (
757
- ecx : & mut EvalContext < ' a , ' tcx , CompileTimeFunctionEvaluator > ,
757
+ ecx : & mut EvalContext < ' a , ' tcx , CompileTimeEvaluator > ,
758
758
miri_val : PtrAndAlign ,
759
759
miri_ty : Ty < ' tcx > ,
760
760
ctfe : ConstVal < ' tcx > ,
@@ -950,7 +950,7 @@ fn check_ctfe_against_miri<'a, 'tcx>(
950
950
}
951
951
952
952
fn get_prim < ' a , ' tcx > (
953
- ecx : & mut EvalContext < ' a , ' tcx , CompileTimeFunctionEvaluator > ,
953
+ ecx : & mut EvalContext < ' a , ' tcx , CompileTimeEvaluator > ,
954
954
res : Result < Option < Value > , EvalError < ' tcx > > ,
955
955
) -> u128 {
956
956
match res {
@@ -961,7 +961,7 @@ fn get_prim<'a, 'tcx>(
961
961
}
962
962
963
963
fn unwrap_miri < ' a , ' tcx , T > (
964
- ecx : & EvalContext < ' a , ' tcx , CompileTimeFunctionEvaluator > ,
964
+ ecx : & EvalContext < ' a , ' tcx , CompileTimeEvaluator > ,
965
965
res : Result < T , EvalError < ' tcx > > ,
966
966
) -> T {
967
967
match res {
0 commit comments