Skip to content

Commit 42c8803

Browse files
committed
Remove empty MirUsedCollector::visit_local.
It has not effect, because the default `visit_local` in `mir::Visitor` is already empty.
1 parent 025eb20 commit 42c8803

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

compiler/rustc_monomorphize/src/collector.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -874,14 +874,6 @@ impl<'a, 'tcx> MirVisitor<'tcx> for MirUsedCollector<'a, 'tcx> {
874874
self.super_operand(operand, location);
875875
self.check_operand_move_size(operand, location);
876876
}
877-
878-
fn visit_local(
879-
&mut self,
880-
_place_local: Local,
881-
_context: mir::visit::PlaceContext,
882-
_location: Location,
883-
) {
884-
}
885877
}
886878

887879
fn visit_drop_use<'tcx>(

0 commit comments

Comments
 (0)