diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-05-25 17:30:23 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-05-25 17:40:46 +0000 |
| commit | 03f275bc5ae941e314aa0790d8324443242055e7 (patch) | |
| tree | faae3637568f4db3fd699f4c869049ff1b9853eb | |
| parent | a3b816be53b5d3eae48e7291836442f6dff9e318 (diff) | |
| download | rust-03f275bc5ae941e314aa0790d8324443242055e7.tar.gz rust-03f275bc5ae941e314aa0790d8324443242055e7.zip | |
Remove DesugaringKind::Replace.
| -rw-r--r-- | src/base.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base.rs b/src/base.rs index 9c6a0fae327..fcfa0b862d4 100644 --- a/src/base.rs +++ b/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); |
