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:
@@ -65,7 +65,7 @@ impl MirPass<'_> for UnreachablePropagation {
|
||||
}
|
||||
|
||||
if replaced {
|
||||
simplify::remove_dead_blocks(tcx, body);
|
||||
simplify::remove_dead_blocks(body);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user