From caa6d3615bb22398f96c4458bd33ac560c0dcc14 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Sat, 9 Aug 2025 23:01:08 -0700 Subject: [PATCH] mbe: Fix typo in attribute tracing --- compiler/rustc_expand/src/mbe/macro_rules.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_expand/src/mbe/macro_rules.rs b/compiler/rustc_expand/src/mbe/macro_rules.rs index 37b236a2e268c..08b0efb74a05f 100644 --- a/compiler/rustc_expand/src/mbe/macro_rules.rs +++ b/compiler/rustc_expand/src/mbe/macro_rules.rs @@ -347,7 +347,7 @@ fn expand_macro_attr( if cx.trace_macros() { let msg = format!( - "expanding `$[{name}({})] {}`", + "expanding `#[{name}({})] {}`", pprust::tts_to_string(&args), pprust::tts_to_string(&body), );