Skip to content

Commit 82cd20b

Browse files
committed
Use debug! instead of info!
1 parent 906ca7f commit 82cd20b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

compiler/rustc_hir/src/attrs/diagnostic.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pub use rustc_ast::attr::data_structures::*;
66
use rustc_macros::{Decodable, Encodable, HashStable_Generic, PrintAttribute};
77
use rustc_span::{DesugaringKind, Span, Symbol, kw};
88
use thin_vec::ThinVec;
9-
use tracing::{debug, info};
9+
use tracing::debug;
1010

1111
use crate::attrs::PrintAttribute;
1212

@@ -58,7 +58,9 @@ impl Directive {
5858
args: &FormatArgs,
5959
) -> CustomDiagnostic {
6060
let this = &args.this;
61-
info!("eval({self:?}, this={this}, options={condition_options:?}, args ={args:?})");
61+
debug!(
62+
"Directive::eval({self:?}, this={this}, options={condition_options:?}, args ={args:?})"
63+
);
6264

6365
let Some(condition_options) = condition_options else {
6466
debug_assert!(

0 commit comments

Comments
 (0)