]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/macro-generated-macro.macro_morestuff_pre.html
Rollup merge of #106797 - FawazTirmizi:dev/issues/104284, r=bjorn3
[rust.git] / tests / rustdoc / macro-generated-macro.macro_morestuff_pre.html
1 macro_rules! morestuff {
2     (
3         <= "space between most kinds of tokens" : 1 $x + @ :: >>= 'static
4         "no space inside paren or bracket" : (2 a) [2 a] $(2 $a:tt)*
5         "space inside curly brace" : { 2 a }
6         "no space inside empty delimiters" : () [] {}
7         "no space before comma or semicolon" : a, (a), { a }, a; [T; 0];
8         "the three repetition specifiers" : $(@)*, $(@)+, $(@)?
9         "repetition separators" : $(@)|*, $(@)|+, $(@)==*, $(@)static*
10         "plus or star cannot be a repetition separator" : $(@)+ * $(@)* +
11         "no space between ident and paren" : let _ = f(0) + f[0] + Struct {};
12         "space between keyword and paren" : return (a,) & for x in (..)
13         "some special case keywords" : pub(crate), fn() -> u8, Self(0, 0) =>
14     ) => { ... };
15 }