about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhyd-dev <yd-huang@outlook.com>2021-05-22 21:24:13 +0800
committerhyd-dev <yd-huang@outlook.com>2021-05-23 21:16:04 +0800
commit876fdcb9ec95dae6fdf081decfeb59db87a60b0f (patch)
tree9a7f19859a5f678d60bb9ece0cff57cd5df925af
parentb98d6228dbf818ba68c9d99ccd77b0204e9735e8 (diff)
downloadrust-876fdcb9ec95dae6fdf081decfeb59db87a60b0f.tar.gz
rust-876fdcb9ec95dae6fdf081decfeb59db87a60b0f.zip
"unwind" -> "unwinding"
-rw-r--r--compiler/rustc_mir/src/interpret/eval_context.rs2
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 b683aca9f05..f1ba669492f 100644
--- a/compiler/rustc_mir/src/interpret/eval_context.rs
+++ b/compiler/rustc_mir/src/interpret/eval_context.rs
@@ -825,7 +825,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
                     StackPopUnwind::Cleanup(unwind) => Some(unwind),
                     StackPopUnwind::Skip => None,
                     StackPopUnwind::NotAllowed => {
-                        throw_ub_format!("unwind past a frame that does not allow unwinding")
+                        throw_ub_format!("unwinding past a frame that does not allow unwinding")
                     }
                 }),
             ),