From 876fdcb9ec95dae6fdf081decfeb59db87a60b0f Mon Sep 17 00:00:00 2001 From: hyd-dev Date: Sat, 22 May 2021 21:24:13 +0800 Subject: [PATCH] "unwind" -> "unwinding" --- compiler/rustc_mir/src/interpret/eval_context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") } }), ),