We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e2dac8 commit 7e95ff7Copy full SHA for 7e95ff7
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