Add UnwindAction::Unreachable

This also makes eval machine's `StackPopUnwind`
redundant so that is replaced.
This commit is contained in:
Gary Guo 2022-10-10 19:50:49 +01:00
parent daeb844e0c
commit 5e6ed132fa
23 changed files with 160 additions and 149 deletions

View file

@ -946,7 +946,7 @@ where
args,
destination: unit_temp,
target: Some(target),
unwind: UnwindAction::Continue,
unwind: UnwindAction::Unreachable,
from_hir_call: false,
fn_span: self.source_info.span,
}; // FIXME(#43234)