Remove empty MirUsedCollector::visit_local
.
It has not effect, because the default `visit_local` in `mir::Visitor` is already empty.
This commit is contained in:
parent
025eb20a86
commit
42c8803fe8
1 changed files with 0 additions and 8 deletions
|
@ -874,14 +874,6 @@ impl<'a, 'tcx> MirVisitor<'tcx> for MirUsedCollector<'a, 'tcx> {
|
|||
self.super_operand(operand, location);
|
||||
self.check_operand_move_size(operand, location);
|
||||
}
|
||||
|
||||
fn visit_local(
|
||||
&mut self,
|
||||
_place_local: Local,
|
||||
_context: mir::visit::PlaceContext,
|
||||
_location: Location,
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
||||
fn visit_drop_use<'tcx>(
|
||||
|
|
Loading…
Add table
Reference in a new issue