Remove unused TyCtxt from remove_dead_blocks

This context was only needed by code for processing coverage statements, which
has been removed.
This commit is contained in:
Zalathar
2023-09-07 21:57:24 +10:00
parent 6da319f635
commit 7d38f4a611
7 changed files with 9 additions and 9 deletions

View File

@@ -65,7 +65,7 @@ impl MirPass<'_> for UnreachablePropagation {
}
if replaced {
simplify::remove_dead_blocks(tcx, body);
simplify::remove_dead_blocks(body);
}
}
}