diff options
| author | hyd-dev <yd-huang@outlook.com> | 2021-05-28 09:18:18 +0800 |
|---|---|---|
| committer | hyd-dev <yd-huang@outlook.com> | 2021-05-28 09:18:18 +0800 |
| commit | 4ad21c9a9da7ffa2a2c2c43b650f8fdec9a31a93 (patch) | |
| tree | 0a83de0bc572cf6b7d697a733566de04646b195b | |
| parent | 0777f1bbafbf8edc1d09fa5239dc4dddb2de31dd (diff) | |
| download | rust-4ad21c9a9da7ffa2a2c2c43b650f8fdec9a31a93.tar.gz rust-4ad21c9a9da7ffa2a2c2c43b650f8fdec9a31a93.zip | |
"a frame" -> "a stack frame"
| -rw-r--r-- | compiler/rustc_mir/src/interpret/eval_context.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir/src/interpret/eval_context.rs b/compiler/rustc_mir/src/interpret/eval_context.rs index f5ceb69c258..51339e5ed31 100644 --- a/compiler/rustc_mir/src/interpret/eval_context.rs +++ b/compiler/rustc_mir/src/interpret/eval_context.rs @@ -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(()) |
