From 116172d1802995b2eb4d1c17a7762d9c8840a198 Mon Sep 17 00:00:00 2001 From: hyd-dev Date: Tue, 25 May 2021 03:51:41 +0800 Subject: [PATCH] Add a comment --- compiler/rustc_mir/src/interpret/terminator.rs | 1 + 1 file changed, 1 insertion(+) 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; }