Skip to content

Commit 4ad21c9

Browse files
author
hyd-dev
committed
"a frame" -> "a stack frame"
1 parent 0777f1b commit 4ad21c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_mir/src/interpret/eval_context.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
767767
StackPopUnwind::Cleanup(block) => Ok(mir::Location { block, statement_index: 0 }),
768768
StackPopUnwind::Skip => Err(self.frame_mut().body.span),
769769
StackPopUnwind::NotAllowed => {
770-
throw_ub_format!("unwinding past a frame that does not allow unwinding")
770+
throw_ub_format!("unwinding past a stack frame that does not allow unwinding")
771771
}
772772
};
773773
Ok(())

0 commit comments

Comments
 (0)