about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2025-08-09 23:01:08 -0700
committerJosh Triplett <josh@joshtriplett.org>2025-08-09 23:01:08 -0700
commitcaa6d3615bb22398f96c4458bd33ac560c0dcc14 (patch)
tree3a0e9ba3a03c64a64730d9123fee93c1396735a6
parentca77504943887037504c7fc0b9bf06dab3910373 (diff)
downloadrust-caa6d3615bb22398f96c4458bd33ac560c0dcc14.tar.gz
rust-caa6d3615bb22398f96c4458bd33ac560c0dcc14.zip
mbe: Fix typo in attribute tracing
-rw-r--r--compiler/rustc_expand/src/mbe/macro_rules.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_expand/src/mbe/macro_rules.rs b/compiler/rustc_expand/src/mbe/macro_rules.rs
index 37b236a2e26..08b0efb74a0 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),
         );