about summary refs log tree commit diff
path: root/tests/rustdoc/macro/macro-generated-macro.rs
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2024-07-31 01:59:22 -0400
committerTrevor Gross <tmgross@umich.edu>2025-06-12 07:35:00 +0000
commit208cb5da15d5a8378efff6d44a5ffa53fd51bbbc (patch)
treed20d67b9a782b548c40eaf28b83e7af8323534f7 /tests/rustdoc/macro/macro-generated-macro.rs
parentfe5c95d4ae33ec9d7831921e448e2daf8264ea42 (diff)
downloadrust-208cb5da15d5a8378efff6d44a5ffa53fd51bbbc.tar.gz
rust-208cb5da15d5a8378efff6d44a5ffa53fd51bbbc.zip
Fix a missing fragment specifier in rustdoc tests
Diffstat (limited to 'tests/rustdoc/macro/macro-generated-macro.rs')
-rw-r--r--tests/rustdoc/macro/macro-generated-macro.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/macro/macro-generated-macro.rs b/tests/rustdoc/macro/macro-generated-macro.rs
index e77d0cf89e7..dfb152bafb6 100644
--- a/tests/rustdoc/macro/macro-generated-macro.rs
+++ b/tests/rustdoc/macro/macro-generated-macro.rs
@@ -25,7 +25,7 @@ make_macro!(linebreak 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
 
 //@ snapshot macro_morestuff_pre macro_generated_macro/macro.morestuff.html //pre/text()
 make_macro!(morestuff
-    "space between most kinds of tokens": 1 $x + @ :: >>= 'static
+    "space between most kinds of tokens": 1 $x:ident + @ :: >>= 'static
     "no space inside paren or bracket": (2 a) [2 a] $(2 $a:tt)*
     "space inside curly brace": { 2 a }
     "no space inside empty delimiters": () [] {}