diff --git a/compiler/rustc_mir/src/interpret/terminator.rs b/compiler/rustc_mir/src/interpret/terminator.rs index 305d41f5eeb2..1ee56ca3fc55 100644 --- a/compiler/rustc_mir/src/interpret/terminator.rs +++ b/compiler/rustc_mir/src/interpret/terminator.rs @@ -319,6 +319,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> { && !self .fn_can_unwind(self.tcx.codegen_fn_attrs(callee_def_id).flags, callee_abi) { + // The callee cannot unwind. unwind = StackPopUnwind::NotAllowed; }