summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-05-25 17:30:23 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-05-25 17:40:46 +0000
commit844c1cc5fec38f691a2ffb53ef3366f25cf7b02b (patch)
tree0994331e0ebf6a9fd5c3e94f3e7bf22615381b2f /compiler/rustc_codegen_ssa/src
parentd300bffa4f0036e9138ef752610d08fc63f87a77 (diff)
downloadrust-844c1cc5fec38f691a2ffb53ef3366f25cf7b02b.tar.gz
rust-844c1cc5fec38f691a2ffb53ef3366f25cf7b02b.zip
Remove DesugaringKind::Replace.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-rw-r--r--compiler/rustc_codegen_ssa/src/mir/block.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/mir/block.rs b/compiler/rustc_codegen_ssa/src/mir/block.rs
index 1f5f5b69d4d..40843423701 100644
--- a/compiler/rustc_codegen_ssa/src/mir/block.rs
+++ b/compiler/rustc_codegen_ssa/src/mir/block.rs
@@ -1256,7 +1256,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
                 MergingSucc::False
             }
 
-            mir::TerminatorKind::Drop { place, target, unwind } => {
+            mir::TerminatorKind::Drop { place, target, unwind, replace: _ } => {
                 self.codegen_drop_terminator(helper, bx, place, target, unwind, mergeable_succ())
             }