Skip to content

Commit 2ca6df7

Browse files
authored
Rollup merge of #71527 - ecstatic-morse:debug-check-consts, r=Dylan-DPC
Miscellaneous cleanup in `check_consts` Just changes `RUSTC_LOG` output.
2 parents f136ba6 + 0e34cb2 commit 2ca6df7

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/librustc_mir/transform/check_consts/validation.rs

+1-10
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ impl Validator<'mir, 'tcx> {
216216
where
217217
O: NonConstOp,
218218
{
219-
trace!("check_op: op={:?}", op);
219+
debug!("check_op: op={:?}", op);
220220

221221
if op.is_allowed_in_item(self) {
222222
return;
@@ -397,15 +397,6 @@ impl Visitor<'tcx> for Validator<'mir, 'tcx> {
397397
}
398398
}
399399

400-
fn visit_local(&mut self, place_local: &Local, context: PlaceContext, location: Location) {
401-
trace!(
402-
"visit_local: place_local={:?} context={:?} location={:?}",
403-
place_local,
404-
context,
405-
location,
406-
);
407-
}
408-
409400
fn visit_operand(&mut self, op: &Operand<'tcx>, location: Location) {
410401
self.super_operand(op, location);
411402
if let Operand::Constant(c) = op {

0 commit comments

Comments
 (0)