@@ -949,7 +949,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for MiriMachine<'mir, 'tcx> {
949949 dest : & MPlaceTy < ' tcx , Provenance > ,
950950 ret : Option < mir:: BasicBlock > ,
951951 unwind : mir:: UnwindAction ,
952- ) -> InterpResult < ' tcx , Option < ( & ' mir mir:: Body < ' tcx > , ty:: Instance < ' tcx > ) > > {
952+ ) -> InterpResult < ' tcx , Option < ( & ' tcx mir:: Body < ' tcx > , ty:: Instance < ' tcx > ) > > {
953953 // For foreign items, try to see if we can emulate them.
954954 if ecx. tcx . is_foreign_item ( instance. def_id ( ) ) {
955955 // An external function call that does not have a MIR body. We either find MIR elsewhere
@@ -1359,8 +1359,8 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for MiriMachine<'mir, 'tcx> {
13591359 #[ inline( always) ]
13601360 fn init_frame_extra (
13611361 ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
1362- frame : Frame < ' mir , ' tcx , Provenance > ,
1363- ) -> InterpResult < ' tcx , Frame < ' mir , ' tcx , Provenance , FrameExtra < ' tcx > > > {
1362+ frame : Frame < ' tcx , Provenance > ,
1363+ ) -> InterpResult < ' tcx , Frame < ' tcx , Provenance , FrameExtra < ' tcx > > > {
13641364 // Start recording our event before doing anything else
13651365 let timing = if let Some ( profiler) = ecx. machine . profiler . as_ref ( ) {
13661366 let fn_name = frame. instance . to_string ( ) ;
@@ -1391,13 +1391,13 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for MiriMachine<'mir, 'tcx> {
13911391
13921392 fn stack < ' a > (
13931393 ecx : & ' a InterpCx < ' mir , ' tcx , Self > ,
1394- ) -> & ' a [ Frame < ' mir , ' tcx , Self :: Provenance , Self :: FrameExtra > ] {
1394+ ) -> & ' a [ Frame < ' tcx , Self :: Provenance , Self :: FrameExtra > ] {
13951395 ecx. active_thread_stack ( )
13961396 }
13971397
13981398 fn stack_mut < ' a > (
13991399 ecx : & ' a mut InterpCx < ' mir , ' tcx , Self > ,
1400- ) -> & ' a mut Vec < Frame < ' mir , ' tcx , Self :: Provenance , Self :: FrameExtra > > {
1400+ ) -> & ' a mut Vec < Frame < ' tcx , Self :: Provenance , Self :: FrameExtra > > {
14011401 ecx. active_thread_stack_mut ( )
14021402 }
14031403
@@ -1444,7 +1444,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for MiriMachine<'mir, 'tcx> {
14441444
14451445 fn before_stack_pop (
14461446 ecx : & InterpCx < ' mir , ' tcx , Self > ,
1447- frame : & Frame < ' mir , ' tcx , Self :: Provenance , Self :: FrameExtra > ,
1447+ frame : & Frame < ' tcx , Self :: Provenance , Self :: FrameExtra > ,
14481448 ) -> InterpResult < ' tcx > {
14491449 // We want this *before* the return value copy, because the return place itself is protected
14501450 // until we do `end_call` here.
@@ -1461,7 +1461,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for MiriMachine<'mir, 'tcx> {
14611461 #[ inline( always) ]
14621462 fn after_stack_pop (
14631463 ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
1464- frame : Frame < ' mir , ' tcx , Provenance , FrameExtra < ' tcx > > ,
1464+ frame : Frame < ' tcx , Provenance , FrameExtra < ' tcx > > ,
14651465 unwinding : bool ,
14661466 ) -> InterpResult < ' tcx , StackPopJump > {
14671467 if frame. extra . is_user_relevant {
0 commit comments