diff --git a/compiler/rustc_mir/src/interpret/terminator.rs b/compiler/rustc_mir/src/interpret/terminator.rs index 305d41f5eeb..1ee56ca3fc5 100644 --- a/compiler/rustc_mir/src/interpret/terminator.rs +++ b/compiler/rustc_mir/src/interpret/terminator.rs @@ -319,6 +319,7 @@ fn eval_fn_call( && !self .fn_can_unwind(self.tcx.codegen_fn_attrs(callee_def_id).flags, callee_abi) { + // The callee cannot unwind. unwind = StackPopUnwind::NotAllowed; }