diff options
| -rw-r--r-- | src/librustc_mir/transform/check_consts/validation.rs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/librustc_mir/transform/check_consts/validation.rs b/src/librustc_mir/transform/check_consts/validation.rs index 004d685c8f8..b87429199ec 100644 --- a/src/librustc_mir/transform/check_consts/validation.rs +++ b/src/librustc_mir/transform/check_consts/validation.rs @@ -216,7 +216,7 @@ impl Validator<'mir, 'tcx> { where O: NonConstOp, { - trace!("check_op: op={:?}", op); + debug!("check_op: op={:?}", op); if op.is_allowed_in_item(self) { return; @@ -397,15 +397,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 { |
