about summary refs log tree commit diff
path: root/compiler/rustc_mir_dataflow/src/framework
diff options
context:
space:
mode:
authorGiacomo Pasini <giacomo@status.im>2023-03-05 21:02:14 +0100
committerGiacomo Pasini <giacomo@status.im>2023-03-07 14:25:22 +0100
commitc5d4e4d907047580f028c6ca7b36a82ef94d28d1 (patch)
tree5e86d4fcf511875c88ce5e828e72386387c53efd /compiler/rustc_mir_dataflow/src/framework
parent14c54b637b18f74680d0c0441216714b5e9c150d (diff)
downloadrust-c5d4e4d907047580f028c6ca7b36a82ef94d28d1.tar.gz
rust-c5d4e4d907047580f028c6ca7b36a82ef94d28d1.zip
Remove DropAndReplace terminator
PR 107844 made DropAndReplace unused, let's remove it completely
from the codebase.
Diffstat (limited to 'compiler/rustc_mir_dataflow/src/framework')
-rw-r--r--compiler/rustc_mir_dataflow/src/framework/direction.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_mir_dataflow/src/framework/direction.rs b/compiler/rustc_mir_dataflow/src/framework/direction.rs
index 2ae3ae02fcc..a40c38aa4c3 100644
--- a/compiler/rustc_mir_dataflow/src/framework/direction.rs
+++ b/compiler/rustc_mir_dataflow/src/framework/direction.rs
@@ -480,7 +480,6 @@ impl Direction for Forward {
 
             Assert { target, cleanup: unwind, expected: _, msg: _, cond: _ }
             | Drop { target, unwind, place: _ }
-            | DropAndReplace { target, unwind, value: _, place: _ }
             | FalseUnwind { real_target: target, unwind } => {
                 if let Some(unwind) = unwind {
                     propagate(unwind, exit_state);