Skip to content

Commit 7e32b27

Browse files
committed
Fix new usage of old api
1 parent 3c66318 commit 7e32b27

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/shims/panic.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,10 +237,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
237237
None,
238238
StackPopCleanup::Goto {
239239
ret: None,
240-
unwind: match unwind {
241-
Some(cleanup) => StackPopUnwind::Cleanup(cleanup),
242-
None => StackPopUnwind::Skip,
243-
},
240+
unwind,
244241
},
245242
)?;
246243
}

0 commit comments

Comments
 (0)