X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;ds=sidebyside;f=compiler%2Frustc_codegen_cranelift%2Fsrc%2Fconstant.rs;h=57074f00210fe88111b4f369de5bb49f50237b35;hb=9b6b1a625b24d7f52647998b496de10b9fd05bf4;hp=4657791345b8eb22d3f0d1c304d829ca2132c2ff;hpb=d12b8578163ac67e5d088550920f7cafd435f52b;p=rust.git diff --git a/compiler/rustc_codegen_cranelift/src/constant.rs b/compiler/rustc_codegen_cranelift/src/constant.rs index 4657791345b..57074f00210 100644 --- a/compiler/rustc_codegen_cranelift/src/constant.rs +++ b/compiler/rustc_codegen_cranelift/src/constant.rs @@ -518,6 +518,7 @@ pub(crate) fn mir_operand_get_const_val<'tcx>( StatementKind::Assign(_) | StatementKind::FakeRead(_) | StatementKind::SetDiscriminant { .. } + | StatementKind::Deinit(_) | StatementKind::StorageLive(_) | StatementKind::StorageDead(_) | StatementKind::Retag(_, _)