2023-08-08 01:43:44 +00:00
|
|
|
PRINT-ATTR INPUT (DISPLAY): #[rustc_dummy] { 1 +1; }
|
2023-11-10 03:34:56 +00:00
|
|
|
PRINT-ATTR DEEP-RE-COLLECTED (DISPLAY): #[rustc_dummy] { 1 + 1; }
|
2020-11-24 19:47:49 +00:00
|
|
|
PRINT-ATTR INPUT (DEBUG): TokenStream [
|
|
|
|
Punct {
|
|
|
|
ch: '#',
|
|
|
|
spacing: Alone,
|
|
|
|
span: $DIR/keep-expr-tokens.rs:22:5: 22:6 (#0),
|
|
|
|
},
|
|
|
|
Group {
|
|
|
|
delimiter: Bracket,
|
|
|
|
stream: TokenStream [
|
|
|
|
Ident {
|
|
|
|
ident: "rustc_dummy",
|
|
|
|
span: $DIR/keep-expr-tokens.rs:22:7: 22:18 (#0),
|
|
|
|
},
|
|
|
|
],
|
|
|
|
span: $DIR/keep-expr-tokens.rs:22:6: 22:19 (#0),
|
|
|
|
},
|
|
|
|
Group {
|
|
|
|
delimiter: Brace,
|
|
|
|
stream: TokenStream [
|
|
|
|
Literal {
|
|
|
|
kind: Integer,
|
|
|
|
symbol: "1",
|
|
|
|
suffix: None,
|
|
|
|
span: $DIR/keep-expr-tokens.rs:23:7: 23:8 (#0),
|
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: '+',
|
|
|
|
spacing: Alone,
|
|
|
|
span: $DIR/keep-expr-tokens.rs:23:9: 23:10 (#0),
|
|
|
|
},
|
|
|
|
Literal {
|
|
|
|
kind: Integer,
|
|
|
|
symbol: "1",
|
|
|
|
suffix: None,
|
|
|
|
span: $DIR/keep-expr-tokens.rs:23:10: 23:11 (#0),
|
|
|
|
},
|
|
|
|
Punct {
|
|
|
|
ch: ';',
|
|
|
|
spacing: Alone,
|
|
|
|
span: $DIR/keep-expr-tokens.rs:23:11: 23:12 (#0),
|
|
|
|
},
|
|
|
|
],
|
|
|
|
span: $DIR/keep-expr-tokens.rs:23:5: 23:14 (#0),
|
|
|
|
},
|
|
|
|
]
|