"unwind" -> "unwinding"

This commit is contained in:
hyd-dev 2021-05-22 21:24:13 +08:00
parent b98d6228db
commit 876fdcb9ec
No known key found for this signature in database
GPG key ID: 74FA7FD5B8DA14B8

View file

@ -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")
}
}),
),