"a frame" -> "a stack frame"

This commit is contained in:
hyd-dev 2021-05-28 09:18:18 +08:00
parent 0777f1bbaf
commit 4ad21c9a9d
No known key found for this signature in database
GPG key ID: 74FA7FD5B8DA14B8

View file

@ -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(())