diff options
| author | Gary Guo <gary@garyguo.net> | 2022-10-10 19:50:49 +0100 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2023-04-06 09:34:16 +0100 |
| commit | 5e6ed132fa8a1bd1ec6b365e61e9e290528c90f5 (patch) | |
| tree | 1e0d532ba1afa977d46dcd187a260d499d6467b4 /compiler/rustc_mir_dataflow/src | |
| parent | daeb844e0ccddb9e058128974b290f2022e88be7 (diff) | |
| download | rust-5e6ed132fa8a1bd1ec6b365e61e9e290528c90f5.tar.gz rust-5e6ed132fa8a1bd1ec6b365e61e9e290528c90f5.zip | |
Add `UnwindAction::Unreachable`
This also makes eval machine's `StackPopUnwind` redundant so that is replaced.
Diffstat (limited to 'compiler/rustc_mir_dataflow/src')
| -rw-r--r-- | compiler/rustc_mir_dataflow/src/elaborate_drops.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_dataflow/src/elaborate_drops.rs b/compiler/rustc_mir_dataflow/src/elaborate_drops.rs index 70ed0c22640..f4801645060 100644 --- a/compiler/rustc_mir_dataflow/src/elaborate_drops.rs +++ b/compiler/rustc_mir_dataflow/src/elaborate_drops.rs @@ -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) |
