Skip to content

Commit 4be8f65

Browse files
Rollup merge of rust-lang#154898 - mejrs:info_to_debug, r=JonathanBrouwer
Use debug! instead of info! re: rust-lang#154858 (comment) r? @JonathanBrouwer cc @jieyouxu
2 parents f149f40 + 82cd20b commit 4be8f65

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)