We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30f168e commit 508b803Copy full SHA for 508b803
compiler/rustc_mir_transform/src/add_call_guards.rs
@@ -34,7 +34,6 @@ impl<'tcx> crate::MirPass<'tcx> for AddCallGuards {
34
fn run_pass(&self, _tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
35
let mut pred_count: IndexVec<_, _> =
36
body.basic_blocks.predecessors().iter().map(|ps| ps.len()).collect();
37
- pred_count[START_BLOCK] += 1;
38
39
// We need a place to store the new blocks generated
40
let mut new_blocks = Vec::new();
0 commit comments