Rollup merge of #71527 - ecstatic-morse:debug-check-consts, r=Dylan-DPC
Miscellaneous cleanup in `check_consts` Just changes `RUSTC_LOG` output.
This commit is contained in:
commit
2ca6df76a5
1 changed files with 1 additions and 10 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue