Refactor unwind from Option to a new enum
This commit is contained in:
@@ -215,7 +215,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
|
||||
fn assert_panic(
|
||||
ecx: &mut InterpCx<'mir, 'tcx, Self>,
|
||||
msg: &mir::AssertMessage<'tcx>,
|
||||
unwind: Option<mir::BasicBlock>,
|
||||
unwind: mir::UnwindAction,
|
||||
) -> InterpResult<'tcx>;
|
||||
|
||||
/// Called to evaluate `Abort` MIR terminator.
|
||||
|
||||
Reference in New Issue
Block a user