We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 544a6bb commit 0f8415bCopy full SHA for 0f8415b
src/test/rustdoc/macro-generated-macro.rs
@@ -0,0 +1,14 @@
1
+macro_rules! outer {
2
+ ($($matcher:tt)*) => {
3
+ #[macro_export]
4
+ macro_rules! inner {
5
+ (<= $($matcher)* =>) => {};
6
+ }
7
8
+}
9
+
10
+// @has macro_generated_macro/macro.inner.html //pre 'macro_rules! inner {'
11
+// @has - //pre '(<= type $($i : ident) :: * + $e : expr =>) => { ... };'
12
+outer!(type $($i:ident)::* + $e:expr);
13
14
+inner!(<= type foo::bar + x.sort() =>);
0 commit comments