about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/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_cranelift/src
parentd300bffa4f0036e9138ef752610d08fc63f87a77 (diff)
downloadrust-844c1cc5fec38f691a2ffb53ef3366f25cf7b02b.tar.gz
rust-844c1cc5fec38f691a2ffb53ef3366f25cf7b02b.zip
Remove DesugaringKind::Replace.
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src')
-rw-r--r--compiler/rustc_codegen_cranelift/src/base.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/base.rs b/compiler/rustc_codegen_cranelift/src/base.rs
index 9c6a0fae327..fcfa0b862d4 100644
--- a/compiler/rustc_codegen_cranelift/src/base.rs
+++ b/compiler/rustc_codegen_cranelift/src/base.rs
@@ -473,7 +473,7 @@ fn codegen_fn_body(fx: &mut FunctionCx<'_, '_, '_>, start_block: Block) {
             | TerminatorKind::GeneratorDrop => {
                 bug!("shouldn't exist at codegen {:?}", bb_data.terminator());
             }
-            TerminatorKind::Drop { place, target, unwind: _ } => {
+            TerminatorKind::Drop { place, target, unwind: _, replace: _ } => {
                 let drop_place = codegen_place(fx, *place);
                 crate::abi::codegen_drop(fx, source_info, drop_place);