Skip to content

Commit 0e34cb2

Browse files
Remove unused visit_local
1 parent 5a49578 commit 0e34cb2

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/librustc_mir/transform/check_consts/validation.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -386,15 +386,6 @@ impl Visitor<'tcx> for Validator<'_, 'mir, 'tcx> {
386386
}
387387
}
388388

389-
fn visit_local(&mut self, place_local: &Local, context: PlaceContext, location: Location) {
390-
trace!(
391-
"visit_local: place_local={:?} context={:?} location={:?}",
392-
place_local,
393-
context,
394-
location,
395-
);
396-
}
397-
398389
fn visit_operand(&mut self, op: &Operand<'tcx>, location: Location) {
399390
self.super_operand(op, location);
400391
if let Operand::Constant(c) = op {

0 commit comments

Comments
 (0)