fork/rust

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

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

master
1.4 KiB57 linesraw
1PRINT-ATTR INPUT (DISPLAY): fn foo < T > () where T : Copy + {}
2PRINT-ATTR INPUT (DEBUG): TokenStream [
3    Ident {
4        ident: "fn",
5        span: $DIR/trailing-plus.rs:11:1: 11:3 (#0),
6    },
7    Ident {
8        ident: "foo",
9        span: $DIR/trailing-plus.rs:11:4: 11:7 (#0),
10    },
11    Punct {
12        ch: '<',
13        spacing: Alone,
14        span: $DIR/trailing-plus.rs:11:7: 11:8 (#0),
15    },
16    Ident {
17        ident: "T",
18        span: $DIR/trailing-plus.rs:11:8: 11:9 (#0),
19    },
20    Punct {
21        ch: '>',
22        spacing: Alone,
23        span: $DIR/trailing-plus.rs:11:9: 11:10 (#0),
24    },
25    Group {
26        delimiter: Parenthesis,
27        stream: TokenStream [],
28        span: $DIR/trailing-plus.rs:11:10: 11:12 (#0),
29    },
30    Ident {
31        ident: "where",
32        span: $DIR/trailing-plus.rs:11:13: 11:18 (#0),
33    },
34    Ident {
35        ident: "T",
36        span: $DIR/trailing-plus.rs:11:19: 11:20 (#0),
37    },
38    Punct {
39        ch: ':',
40        spacing: Alone,
41        span: $DIR/trailing-plus.rs:11:20: 11:21 (#0),
42    },
43    Ident {
44        ident: "Copy",
45        span: $DIR/trailing-plus.rs:11:22: 11:26 (#0),
46    },
47    Punct {
48        ch: '+',
49        spacing: Alone,
50        span: $DIR/trailing-plus.rs:11:27: 11:28 (#0),
51    },
52    Group {
53        delimiter: Brace,
54        stream: TokenStream [],
55        span: $DIR/trailing-plus.rs:11:29: 12:2 (#0),
56    },
57]