Skip to content

Commit

Permalink
Remove unused visit_local
Browse files Browse the repository at this point in the history
  • Loading branch information
ecstatic-morse committed Apr 24, 2020
1 parent 5a49578 commit 0e34cb2
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/librustc_mir/transform/check_consts/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,15 +386,6 @@ impl Visitor<'tcx> for Validator<'_, 'mir, 'tcx> {
}
}

fn visit_local(&mut self, place_local: &Local, context: PlaceContext, location: Location) {
trace!(
"visit_local: place_local={:?} context={:?} location={:?}",
place_local,
context,
location,
);
}

fn visit_operand(&mut self, op: &Operand<'tcx>, location: Location) {
self.super_operand(op, location);
if let Operand::Constant(c) = op {
Expand Down

0 comments on commit 0e34cb2

Please sign in to comment.