about summary refs log tree commit diff
path: root/compiler/rustc_mir_dataflow/src
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2022-10-10 19:50:49 +0100
committerGary Guo <gary@garyguo.net>2023-04-06 09:34:16 +0100
commit5e6ed132fa8a1bd1ec6b365e61e9e290528c90f5 (patch)
tree1e0d532ba1afa977d46dcd187a260d499d6467b4 /compiler/rustc_mir_dataflow/src
parentdaeb844e0ccddb9e058128974b290f2022e88be7 (diff)
downloadrust-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.rs2
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)