mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
62 lines
1.7 KiB
Plaintext
62 lines
1.7 KiB
Plaintext
|
PRINT-ATTR INPUT (DISPLAY): struct A(identity!($crate :: S));
|
||
|
PRINT-ATTR RE-COLLECTED (DISPLAY): struct A ( identity ! ( $ crate :: S ) ) ;
|
||
|
PRINT-ATTR INPUT (DEBUG): TokenStream [
|
||
|
Ident {
|
||
|
ident: "struct",
|
||
|
span: #0 bytes(0..0),
|
||
|
},
|
||
|
Ident {
|
||
|
ident: "A",
|
||
|
span: #0 bytes(0..0),
|
||
|
},
|
||
|
Group {
|
||
|
delimiter: Parenthesis,
|
||
|
stream: TokenStream [
|
||
|
Ident {
|
||
|
ident: "identity",
|
||
|
span: #0 bytes(0..0),
|
||
|
},
|
||
|
Punct {
|
||
|
ch: '!',
|
||
|
spacing: Alone,
|
||
|
span: #0 bytes(0..0),
|
||
|
},
|
||
|
Group {
|
||
|
delimiter: Parenthesis,
|
||
|
stream: TokenStream [
|
||
|
Punct {
|
||
|
ch: '$',
|
||
|
spacing: Alone,
|
||
|
span: #0 bytes(0..0),
|
||
|
},
|
||
|
Ident {
|
||
|
ident: "crate",
|
||
|
span: #0 bytes(0..0),
|
||
|
},
|
||
|
Punct {
|
||
|
ch: ':',
|
||
|
spacing: Joint,
|
||
|
span: #0 bytes(0..0),
|
||
|
},
|
||
|
Punct {
|
||
|
ch: ':',
|
||
|
spacing: Alone,
|
||
|
span: #0 bytes(0..0),
|
||
|
},
|
||
|
Ident {
|
||
|
ident: "S",
|
||
|
span: #0 bytes(0..0),
|
||
|
},
|
||
|
],
|
||
|
span: #0 bytes(0..0),
|
||
|
},
|
||
|
],
|
||
|
span: #0 bytes(0..0),
|
||
|
},
|
||
|
Punct {
|
||
|
ch: ';',
|
||
|
spacing: Alone,
|
||
|
span: #0 bytes(0..0),
|
||
|
},
|
||
|
]
|