fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.3 KiB46 linesraw
1PRINT-ATTR INPUT (DISPLAY): #[rustc_dummy] { 1 + 1 ; }
2PRINT-ATTR INPUT (DEBUG): TokenStream [
3    Punct {
4        ch: '#',
5        spacing: Alone,
6        span: $DIR/keep-expr-tokens.rs:22:5: 22:6 (#0),
7    },
8    Group {
9        delimiter: Bracket,
10        stream: TokenStream [
11            Ident {
12                ident: "rustc_dummy",
13                span: $DIR/keep-expr-tokens.rs:22:7: 22:18 (#0),
14            },
15        ],
16        span: $DIR/keep-expr-tokens.rs:22:6: 22:19 (#0),
17    },
18    Group {
19        delimiter: Brace,
20        stream: TokenStream [
21            Literal {
22                kind: Integer,
23                symbol: "1",
24                suffix: None,
25                span: $DIR/keep-expr-tokens.rs:23:7: 23:8 (#0),
26            },
27            Punct {
28                ch: '+',
29                spacing: Alone,
30                span: $DIR/keep-expr-tokens.rs:23:9: 23:10 (#0),
31            },
32            Literal {
33                kind: Integer,
34                symbol: "1",
35                suffix: None,
36                span: $DIR/keep-expr-tokens.rs:23:10: 23:11 (#0),
37            },
38            Punct {
39                ch: ';',
40                spacing: Alone,
41                span: $DIR/keep-expr-tokens.rs:23:11: 23:12 (#0),
42            },
43        ],
44        span: $DIR/keep-expr-tokens.rs:23:5: 23:14 (#0),
45    },
46]