fork/rust

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

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

master
3.7 KiB110 linesraw
1PRINT-ATTR INPUT (DISPLAY): struct A(identity! ($crate :: S)) ;
2PRINT-ATTR INPUT (DEBUG): TokenStream [
3    Ident {
4        ident: "struct",
5        span: $DIR/dollar-crate-issue-62325.rs:19:5: 19:11 (#3),
6    },
7    Ident {
8        ident: "A",
9        span: $DIR/dollar-crate-issue-62325.rs:19:12: 19:13 (#3),
10    },
11    Group {
12        delimiter: Parenthesis,
13        stream: TokenStream [
14            Ident {
15                ident: "identity",
16                span: $DIR/dollar-crate-issue-62325.rs:19:14: 19:22 (#3),
17            },
18            Punct {
19                ch: '!',
20                spacing: Alone,
21                span: $DIR/dollar-crate-issue-62325.rs:19:22: 19:23 (#3),
22            },
23            Group {
24                delimiter: Parenthesis,
25                stream: TokenStream [
26                    Ident {
27                        ident: "$crate",
28                        span: $DIR/dollar-crate-issue-62325.rs:19:24: 19:30 (#3),
29                    },
30                    Punct {
31                        ch: ':',
32                        spacing: Joint,
33                        span: $DIR/dollar-crate-issue-62325.rs:19:30: 19:31 (#3),
34                    },
35                    Punct {
36                        ch: ':',
37                        spacing: Alone,
38                        span: $DIR/dollar-crate-issue-62325.rs:19:31: 19:32 (#3),
39                    },
40                    Ident {
41                        ident: "S",
42                        span: $DIR/dollar-crate-issue-62325.rs:19:32: 19:33 (#3),
43                    },
44                ],
45                span: $DIR/dollar-crate-issue-62325.rs:19:23: 19:34 (#3),
46            },
47        ],
48        span: $DIR/dollar-crate-issue-62325.rs:19:13: 19:35 (#3),
49    },
50    Punct {
51        ch: ';',
52        spacing: Alone,
53        span: $DIR/dollar-crate-issue-62325.rs:19:35: 19:36 (#3),
54    },
55]
56PRINT-ATTR INPUT (DISPLAY): struct B(identity! ($crate :: S)) ;
57PRINT-ATTR INPUT (DEBUG): TokenStream [
58    Ident {
59        ident: "struct",
60        span: $DIR/auxiliary/dollar-crate-external.rs:21:5: 21:11 (#11),
61    },
62    Ident {
63        ident: "B",
64        span: $DIR/auxiliary/dollar-crate-external.rs:21:12: 21:13 (#11),
65    },
66    Group {
67        delimiter: Parenthesis,
68        stream: TokenStream [
69            Ident {
70                ident: "identity",
71                span: $DIR/auxiliary/dollar-crate-external.rs:21:14: 21:22 (#11),
72            },
73            Punct {
74                ch: '!',
75                spacing: Alone,
76                span: $DIR/auxiliary/dollar-crate-external.rs:21:22: 21:23 (#11),
77            },
78            Group {
79                delimiter: Parenthesis,
80                stream: TokenStream [
81                    Ident {
82                        ident: "$crate",
83                        span: $DIR/auxiliary/dollar-crate-external.rs:21:24: 21:30 (#11),
84                    },
85                    Punct {
86                        ch: ':',
87                        spacing: Joint,
88                        span: $DIR/auxiliary/dollar-crate-external.rs:21:30: 21:31 (#11),
89                    },
90                    Punct {
91                        ch: ':',
92                        spacing: Alone,
93                        span: $DIR/auxiliary/dollar-crate-external.rs:21:31: 21:32 (#11),
94                    },
95                    Ident {
96                        ident: "S",
97                        span: $DIR/auxiliary/dollar-crate-external.rs:21:32: 21:33 (#11),
98                    },
99                ],
100                span: $DIR/auxiliary/dollar-crate-external.rs:21:23: 21:34 (#11),
101            },
102        ],
103        span: $DIR/auxiliary/dollar-crate-external.rs:21:13: 21:35 (#11),
104    },
105    Punct {
106        ch: ';',
107        spacing: Alone,
108        span: $DIR/auxiliary/dollar-crate-external.rs:21:35: 21:36 (#11),
109    },
110]