Skip to content

Commit 122e95b

Browse files
committed
fixup 53c5eb0
1 parent 44f4649 commit 122e95b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_const_eval/src/interpret/eval_context.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
824824
fn push_new_stack_frame(
825825
&mut self,
826826
instance: ty::Instance<'tcx>,
827-
body: &'mir mir::Body<'tcx>,
827+
body: &'tcx mir::Body<'tcx>,
828828
return_to_block: StackPopCleanup,
829829
return_place: MPlaceTy<'tcx, M::Provenance>,
830830
) -> InterpResult<'tcx> {
@@ -850,7 +850,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
850850
fn after_stack_frame_push(
851851
&mut self,
852852
instance: ty::Instance<'tcx>,
853-
body: &'mir mir::Body<'tcx>,
853+
body: &'tcx mir::Body<'tcx>,
854854
) -> InterpResult<'tcx> {
855855
// Make sure all the constants required by this frame evaluate successfully (post-monomorphization check).
856856
for &const_ in &body.required_consts {

0 commit comments

Comments
 (0)