summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/dollar-crate.stdout
blob: d01fcb9d0e49875fc391017105989de62963095a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
PRINT-BANG INPUT (DISPLAY): struct M($crate :: S) ;
PRINT-BANG INPUT (DEBUG): TokenStream [
    Ident {
        ident: "struct",
        span: $DIR/dollar-crate.rs:20:17: 20:23 (#4),
    },
    Ident {
        ident: "M",
        span: $DIR/dollar-crate.rs:20:24: 20:25 (#4),
    },
    Group {
        delimiter: Parenthesis,
        stream: TokenStream [
            Ident {
                ident: "$crate",
                span: $DIR/dollar-crate.rs:20:26: 20:32 (#4),
            },
            Punct {
                ch: ':',
                spacing: Joint,
                span: $DIR/dollar-crate.rs:20:32: 20:34 (#4),
            },
            Punct {
                ch: ':',
                spacing: Alone,
                span: $DIR/dollar-crate.rs:20:32: 20:34 (#4),
            },
            Ident {
                ident: "S",
                span: $DIR/dollar-crate.rs:20:34: 20:35 (#4),
            },
        ],
        span: $DIR/dollar-crate.rs:20:25: 20:36 (#4),
    },
    Punct {
        ch: ';',
        spacing: Alone,
        span: $DIR/dollar-crate.rs:20:36: 20:37 (#4),
    },
]
PRINT-ATTR INPUT (DISPLAY): struct A($crate :: S) ;
PRINT-ATTR INPUT (DEBUG): TokenStream [
    Ident {
        ident: "struct",
        span: $DIR/dollar-crate.rs:24:13: 24:19 (#4),
    },
    Ident {
        ident: "A",
        span: $DIR/dollar-crate.rs:24:20: 24:21 (#4),
    },
    Group {
        delimiter: Parenthesis,
        stream: TokenStream [
            Ident {
                ident: "$crate",
                span: $DIR/dollar-crate.rs:24:22: 24:28 (#4),
            },
            Punct {
                ch: ':',
                spacing: Joint,
                span: $DIR/dollar-crate.rs:24:28: 24:30 (#4),
            },
            Punct {
                ch: ':',
                spacing: Alone,
                span: $DIR/dollar-crate.rs:24:28: 24:30 (#4),
            },
            Ident {
                ident: "S",
                span: $DIR/dollar-crate.rs:24:30: 24:31 (#4),
            },
        ],
        span: $DIR/dollar-crate.rs:24:21: 24:32 (#4),
    },
    Punct {
        ch: ';',
        spacing: Alone,
        span: $DIR/dollar-crate.rs:24:32: 24:33 (#4),
    },
]
PRINT-DERIVE INPUT (DISPLAY): struct D($crate :: S) ;
PRINT-DERIVE INPUT (DEBUG): TokenStream [
    Ident {
        ident: "struct",
        span: $DIR/dollar-crate.rs:27:13: 27:19 (#4),
    },
    Ident {
        ident: "D",
        span: $DIR/dollar-crate.rs:27:20: 27:21 (#4),
    },
    Group {
        delimiter: Parenthesis,
        stream: TokenStream [
            Ident {
                ident: "$crate",
                span: $DIR/dollar-crate.rs:27:22: 27:28 (#4),
            },
            Punct {
                ch: ':',
                spacing: Joint,
                span: $DIR/dollar-crate.rs:27:28: 27:30 (#4),
            },
            Punct {
                ch: ':',
                spacing: Alone,
                span: $DIR/dollar-crate.rs:27:28: 27:30 (#4),
            },
            Ident {
                ident: "S",
                span: $DIR/dollar-crate.rs:27:30: 27:31 (#4),
            },
        ],
        span: $DIR/dollar-crate.rs:27:21: 27:32 (#4),
    },
    Punct {
        ch: ';',
        spacing: Alone,
        span: $DIR/dollar-crate.rs:27:32: 27:33 (#4),
    },
]
PRINT-BANG INPUT (DISPLAY): struct M($crate :: S) ;
PRINT-BANG INPUT (DEBUG): TokenStream [
    Ident {
        ident: "struct",
        span: $DIR/auxiliary/dollar-crate-external.rs:7:13: 7:19 (#15),
    },
    Ident {
        ident: "M",
        span: $DIR/auxiliary/dollar-crate-external.rs:7:20: 7:21 (#15),
    },
    Group {
        delimiter: Parenthesis,
        stream: TokenStream [
            Ident {
                ident: "$crate",
                span: $DIR/auxiliary/dollar-crate-external.rs:7:22: 7:28 (#15),
            },
            Punct {
                ch: ':',
                spacing: Joint,
                span: $DIR/auxiliary/dollar-crate-external.rs:7:28: 7:30 (#15),
            },
            Punct {
                ch: ':',
                spacing: Alone,
                span: $DIR/auxiliary/dollar-crate-external.rs:7:28: 7:30 (#15),
            },
            Ident {
                ident: "S",
                span: $DIR/auxiliary/dollar-crate-external.rs:7:30: 7:31 (#15),
            },
        ],
        span: $DIR/auxiliary/dollar-crate-external.rs:7:21: 7:32 (#15),
    },
    Punct {
        ch: ';',
        spacing: Alone,
        span: $DIR/auxiliary/dollar-crate-external.rs:7:32: 7:33 (#15),
    },
]
PRINT-ATTR INPUT (DISPLAY): struct A($crate :: S) ;
PRINT-ATTR INPUT (DEBUG): TokenStream [
    Ident {
        ident: "struct",
        span: $DIR/auxiliary/dollar-crate-external.rs:11:9: 11:15 (#15),
    },
    Ident {
        ident: "A",
        span: $DIR/auxiliary/dollar-crate-external.rs:11:16: 11:17 (#15),
    },
    Group {
        delimiter: Parenthesis,
        stream: TokenStream [
            Ident {
                ident: "$crate",
                span: $DIR/auxiliary/dollar-crate-external.rs:11:18: 11:24 (#15),
            },
            Punct {
                ch: ':',
                spacing: Joint,
                span: $DIR/auxiliary/dollar-crate-external.rs:11:24: 11:26 (#15),
            },
            Punct {
                ch: ':',
                spacing: Alone,
                span: $DIR/auxiliary/dollar-crate-external.rs:11:24: 11:26 (#15),
            },
            Ident {
                ident: "S",
                span: $DIR/auxiliary/dollar-crate-external.rs:11:26: 11:27 (#15),
            },
        ],
        span: $DIR/auxiliary/dollar-crate-external.rs:11:17: 11:28 (#15),
    },
    Punct {
        ch: ';',
        spacing: Alone,
        span: $DIR/auxiliary/dollar-crate-external.rs:11:28: 11:29 (#15),
    },
]
PRINT-DERIVE INPUT (DISPLAY): struct D($crate :: S) ;
PRINT-DERIVE INPUT (DEBUG): TokenStream [
    Ident {
        ident: "struct",
        span: $DIR/auxiliary/dollar-crate-external.rs:14:9: 14:15 (#15),
    },
    Ident {
        ident: "D",
        span: $DIR/auxiliary/dollar-crate-external.rs:14:16: 14:17 (#15),
    },
    Group {
        delimiter: Parenthesis,
        stream: TokenStream [
            Ident {
                ident: "$crate",
                span: $DIR/auxiliary/dollar-crate-external.rs:14:18: 14:24 (#15),
            },
            Punct {
                ch: ':',
                spacing: Joint,
                span: $DIR/auxiliary/dollar-crate-external.rs:14:24: 14:26 (#15),
            },
            Punct {
                ch: ':',
                spacing: Alone,
                span: $DIR/auxiliary/dollar-crate-external.rs:14:24: 14:26 (#15),
            },
            Ident {
                ident: "S",
                span: $DIR/auxiliary/dollar-crate-external.rs:14:26: 14:27 (#15),
            },
        ],
        span: $DIR/auxiliary/dollar-crate-external.rs:14:17: 14:28 (#15),
    },
    Punct {
        ch: ';',
        spacing: Alone,
        span: $DIR/auxiliary/dollar-crate-external.rs:14:28: 14:29 (#15),
    },
]