From ac39f365266fcbfaf8d1fb31ac59feba60950e92 Mon Sep 17 00:00:00 2001 From: hyd-dev Date: Sun, 23 May 2021 22:19:12 +0800 Subject: [PATCH] :facepalm: --- compiler/rustc_mir/src/interpret/terminator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;