diff --git a/compiler/rustc_mir/src/interpret/terminator.rs b/compiler/rustc_mir/src/interpret/terminator.rs index cefd47d718f8..9cbf94dbadf8 100644 --- a/compiler/rustc_mir/src/interpret/terminator.rs +++ b/compiler/rustc_mir/src/interpret/terminator.rs @@ -316,7 +316,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> { } if !matches!(unwind, StackPopUnwind::NotAllowed) - && self + && !self .fn_can_unwind(self.tcx.codegen_fn_attrs(callee_def_id).flags, callee_abi) { unwind = StackPopUnwind::NotAllowed;