mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Rollup merge of #154898 - mejrs:info_to_debug, r=JonathanBrouwer
Use debug! instead of info! re: https://github.com/rust-lang/rust/pull/154858#discussion_r3039159140 r? @JonathanBrouwer cc @jieyouxu
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
use rustc_macros::{Decodable, Encodable, HashStable_Generic, PrintAttribute};
|
||||
use rustc_span::{DesugaringKind, Span, Symbol, kw};
|
||||
use thin_vec::ThinVec;
|
||||
use tracing::{debug, info};
|
||||
use tracing::debug;
|
||||
|
||||
use crate::attrs::PrintAttribute;
|
||||
|
||||
@@ -58,7 +58,9 @@ pub fn eval(
|
||||
args: &FormatArgs,
|
||||
) -> CustomDiagnostic {
|
||||
let this = &args.this;
|
||||
info!("eval({self:?}, this={this}, options={condition_options:?}, args ={args:?})");
|
||||
debug!(
|
||||
"Directive::eval({self:?}, this={this}, options={condition_options:?}, args ={args:?})"
|
||||
);
|
||||
|
||||
let Some(condition_options) = condition_options else {
|
||||
debug_assert!(
|
||||
|
||||
Reference in New Issue
Block a user