Skip to content

Commit 116172d

Browse files
author
hyd-dev
committed
Add a comment
1 parent 4a7c9ba commit 116172d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_mir/src/interpret/terminator.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
319319
&& !self
320320
.fn_can_unwind(self.tcx.codegen_fn_attrs(callee_def_id).flags, callee_abi)
321321
{
322+
// The callee cannot unwind.
322323
unwind = StackPopUnwind::NotAllowed;
323324
}
324325

0 commit comments

Comments
 (0)