diff options
author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-06-30 08:16:05 +0000 |
---|---|---|
committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-09-06 14:18:32 +0000 |
commit | 3f076451202409bca6262d7b5bf9a4fee3d18fb9 (patch) | |
tree | caa5cf3deff3fb465f57d9a2a01641048bd60d1a /compiler/rustc_mir_transform/src/dead_store_elimination.rs | |
parent | 3c7278846102bb829c9a789e91bc43f0ed612943 (diff) | |
download | rust-3f076451202409bca6262d7b5bf9a4fee3d18fb9.tar.gz |
Lower the assume intrinsic to a MIR statement
Diffstat (limited to 'compiler/rustc_mir_transform/src/dead_store_elimination.rs')
-rw-r--r-- | compiler/rustc_mir_transform/src/dead_store_elimination.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_mir_transform/src/dead_store_elimination.rs b/compiler/rustc_mir_transform/src/dead_store_elimination.rs index 9163672f570..e95c5d888b2 100644 --- a/compiler/rustc_mir_transform/src/dead_store_elimination.rs +++ b/compiler/rustc_mir_transform/src/dead_store_elimination.rs @@ -53,6 +53,7 @@ pub fn eliminate<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>, borrowed: &BitS | StatementKind::StorageDead(_) | StatementKind::Coverage(_) | StatementKind::CopyNonOverlapping(_) + | StatementKind::Assume(_) | StatementKind::Nop => (), StatementKind::FakeRead(_) | StatementKind::AscribeUserType(_, _) => { |