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:
parent
6da319f635
commit
7d38f4a611
7 changed files with 9 additions and 9 deletions
|
@ -244,7 +244,7 @@ impl<'tcx> MirPass<'tcx> for DestinationPropagation {
|
|||
if round_count != 0 {
|
||||
// Merging can introduce overlap between moved arguments and/or call destination in an
|
||||
// unreachable code, which validator considers to be ill-formed.
|
||||
remove_dead_blocks(tcx, body);
|
||||
remove_dead_blocks(body);
|
||||
}
|
||||
|
||||
trace!(round_count);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue