diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-25 01:36:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-25 01:36:02 +0200 |
| commit | 2ca6df76a53da39698f152e703d519e62f1fc396 (patch) | |
| tree | cf4c8a99150a75512dfdd43c290eea6207ae8f36 | |
| parent | f136ba64cda60311c87905a3ca0751823100c1bf (diff) | |
| parent | 0e34cb2bdd21bf00d557c3769a6e2ce490e4f6ac (diff) | |
| download | rust-2ca6df76a53da39698f152e703d519e62f1fc396.tar.gz rust-2ca6df76a53da39698f152e703d519e62f1fc396.zip | |
Rollup merge of #71527 - ecstatic-morse:debug-check-consts, r=Dylan-DPC
Miscellaneous cleanup in `check_consts` Just changes `RUSTC_LOG` output.
| -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 { |
