Skip to content

Commit

Permalink
"a frame" -> "a stack frame"
Browse files Browse the repository at this point in the history
  • Loading branch information
hyd-dev committed May 28, 2021
1 parent 0777f1b commit 4ad21c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_mir/src/interpret/eval_context.rs
Expand Up @@ -767,7 +767,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
StackPopUnwind::Cleanup(block) => Ok(mir::Location { block, statement_index: 0 }),
StackPopUnwind::Skip => Err(self.frame_mut().body.span),
StackPopUnwind::NotAllowed => {
throw_ub_format!("unwinding past a frame that does not allow unwinding")
throw_ub_format!("unwinding past a stack frame that does not allow unwinding")
}
};
Ok(())
Expand Down

0 comments on commit 4ad21c9

Please sign in to comment.