We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Deinit
1 parent f2d2ec3 commit a923e92Copy full SHA for a923e92
src/base.rs
@@ -772,6 +772,7 @@ fn codegen_stmt<'tcx>(
772
}
773
StatementKind::StorageLive(_)
774
| StatementKind::StorageDead(_)
775
+ | StatementKind::Deinit(_)
776
| StatementKind::Nop
777
| StatementKind::FakeRead(..)
778
| StatementKind::Retag { .. }
src/constant.rs
@@ -518,6 +518,7 @@ pub(crate) fn mir_operand_get_const_val<'tcx>(
518
StatementKind::Assign(_)
519
| StatementKind::FakeRead(_)
520
| StatementKind::SetDiscriminant { .. }
521
522
| StatementKind::StorageLive(_)
523
524
| StatementKind::Retag(_, _)
0 commit comments