未验证 提交 2ca6df76 编写于 作者: D Dylan DPC 提交者: GitHub

Rollup merge of #71527 - ecstatic-morse:debug-check-consts, r=Dylan-DPC

Miscellaneous cleanup in `check_consts`

Just changes `RUSTC_LOG` output.
......@@ -216,7 +216,7 @@ pub fn check_op_spanned<O>(&mut self, op: O, span: Span)
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 @@ fn visit_rvalue(&mut self, rvalue: &Rvalue<'tcx>, location: Location) {
}
}
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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册