about summary refs log tree commit diff
path: root/compiler/rustc_mir_dataflow/src/move_paths
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-08-19 13:10:25 +0200
committerRalf Jung <post@ralfj.de>2023-08-20 15:52:38 +0200
commit818ec8e23adcc4c6b684fc070b8c7e89c941171e (patch)
tree21dfa4b62ab046c00d2cc032765d57a8b8a94a35 /compiler/rustc_mir_dataflow/src/move_paths
parentc0b6ffaaea3ebdf5f7a58fc4cf7ee52c91077fb9 (diff)
give some unwind-related terminators a more clear name
Diffstat (limited to 'compiler/rustc_mir_dataflow/src/move_paths')
-rw-r--r--compiler/rustc_mir_dataflow/src/move_paths/builder.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_mir_dataflow/src/move_paths/builder.rs b/compiler/rustc_mir_dataflow/src/move_paths/builder.rs
index 5052de99184..4adf3dec61b 100644
--- a/compiler/rustc_mir_dataflow/src/move_paths/builder.rs
+++ b/compiler/rustc_mir_dataflow/src/move_paths/builder.rs
@@ -370,8 +370,8 @@ impl<'b, 'a, 'tcx> Gatherer<'b, 'a, 'tcx> {
             // this that could possibly access the return place, this doesn't
             // need recording.
             | TerminatorKind::Return
-            | TerminatorKind::Resume
-            | TerminatorKind::Terminate
+            | TerminatorKind::UnwindResume
+            | TerminatorKind::UnwindTerminate
             | TerminatorKind::GeneratorDrop
             | TerminatorKind::Unreachable
             | TerminatorKind::Drop { .. } => {}