We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents da1da3f + 7e95ff7 commit 921c05bCopy full SHA for 921c05b
compiler/rustc_mir_transform/src/cost_checker.rs
@@ -47,6 +47,7 @@ impl<'tcx> Visitor<'tcx> for CostChecker<'_, 'tcx> {
47
StatementKind::StorageLive(_)
48
| StatementKind::StorageDead(_)
49
| StatementKind::Deinit(_)
50
+ | StatementKind::Intrinsic(box NonDivergingIntrinsic::Assume(_))
51
| StatementKind::Nop => {}
52
_ => self.cost += INSTR_COST,
53
}
0 commit comments