Skip to content

Commit 0f2b470

Browse files
committed
Remove StatementKind::Deinit.
1 parent 0e4df74 commit 0f2b470

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/base.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,6 @@ fn codegen_stmt<'tcx>(fx: &mut FunctionCx<'_, '_, 'tcx>, cur_block: Block, stmt:
932932
}
933933
StatementKind::StorageLive(_)
934934
| StatementKind::StorageDead(_)
935-
| StatementKind::Deinit(_)
936935
| StatementKind::ConstEvalCounter
937936
| StatementKind::Nop
938937
| StatementKind::FakeRead(..)

src/constant.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,6 @@ pub(crate) fn mir_operand_get_const_val<'tcx>(
597597
StatementKind::Assign(_)
598598
| StatementKind::FakeRead(_)
599599
| StatementKind::SetDiscriminant { .. }
600-
| StatementKind::Deinit(_)
601600
| StatementKind::StorageLive(_)
602601
| StatementKind::StorageDead(_)
603602
| StatementKind::Retag(_, _)

0 commit comments

Comments
 (0)