@@ -109,8 +109,8 @@ fn unbalanced_brace() {
109
109
"# ,
110
110
r#""# ,
111
111
expect ! [ [ r#"
112
- SUBTREE $$ 1:[email protected] #4294967037 1:[email protected] #4294967037
113
- SUBTREE {} 0:[email protected] #4294967037 0:[email protected] #4294967037
112
+ SUBTREE $$ 1:[email protected] #ROOT2021 1:[email protected] #ROOT2021
113
+ SUBTREE {} 0:[email protected] #ROOT2021 0:[email protected] #ROOT2021
114
114
115
115
{}"# ] ] ,
116
116
) ;
@@ -132,25 +132,25 @@ fn token_mapping_smoke_test() {
132
132
struct MyTraitMap2
133
133
"# ,
134
134
expect ! [ [ r#"
135
- SUBTREE $$ 1:[email protected] #4294967037 1:[email protected] #4294967037
136
- IDENT struct 0:[email protected] #4294967037
137
- IDENT MyTraitMap2 1:[email protected] #4294967037
138
- SUBTREE {} 0:[email protected] #4294967037 0:[email protected] #4294967037
139
- IDENT map 0:[email protected] #4294967037
140
- PUNCH : [alone] 0:[email protected] #4294967037
141
- PUNCH : [joint] 0:[email protected] #4294967037
142
- PUNCH : [alone] 0:[email protected] #4294967037
143
- IDENT std 0:[email protected] #4294967037
144
- PUNCH : [joint] 0:[email protected] #4294967037
145
- PUNCH : [alone] 0:[email protected] #4294967037
146
- IDENT collections 0:[email protected] #4294967037
147
- PUNCH : [joint] 0:[email protected] #4294967037
148
- PUNCH : [alone] 0:[email protected] #4294967037
149
- IDENT HashSet 0:[email protected] #4294967037
150
- PUNCH < [alone] 0:[email protected] #4294967037
151
- SUBTREE () 0:[email protected] #4294967037 0:[email protected] #4294967037
152
- PUNCH > [joint] 0:[email protected] #4294967037
153
- PUNCH , [alone] 0:[email protected] #4294967037
135
+ SUBTREE $$ 1:[email protected] #ROOT2021 1:[email protected] #ROOT2021
136
+ IDENT struct 0:[email protected] #ROOT2021
137
+ IDENT MyTraitMap2 1:[email protected] #ROOT2021
138
+ SUBTREE {} 0:[email protected] #ROOT2021 0:[email protected] #ROOT2021
139
+ IDENT map 0:[email protected] #ROOT2021
140
+ PUNCH : [alone] 0:[email protected] #ROOT2021
141
+ PUNCH : [joint] 0:[email protected] #ROOT2021
142
+ PUNCH : [alone] 0:[email protected] #ROOT2021
143
+ IDENT std 0:[email protected] #ROOT2021
144
+ PUNCH : [joint] 0:[email protected] #ROOT2021
145
+ PUNCH : [alone] 0:[email protected] #ROOT2021
146
+ IDENT collections 0:[email protected] #ROOT2021
147
+ PUNCH : [joint] 0:[email protected] #ROOT2021
148
+ PUNCH : [alone] 0:[email protected] #ROOT2021
149
+ IDENT HashSet 0:[email protected] #ROOT2021
150
+ PUNCH < [alone] 0:[email protected] #ROOT2021
151
+ SUBTREE () 0:[email protected] #ROOT2021 0:[email protected] #ROOT2021
152
+ PUNCH > [joint] 0:[email protected] #ROOT2021
153
+ PUNCH , [alone] 0:[email protected] #ROOT2021
154
154
155
155
struct MyTraitMap2 {
156
156
map: ::std::collections::HashSet<()>,
@@ -179,28 +179,28 @@ fn main() {
179
179
}
180
180
"# ,
181
181
expect ! [ [ r#"
182
- SUBTREE $$ 1:[email protected] #4294967037 1:[email protected] #4294967037
183
- IDENT fn 1:[email protected] #4294967037
184
- IDENT main 1:[email protected] #4294967037
185
- SUBTREE () 1:[email protected] #4294967037 1:[email protected] #4294967037
186
- SUBTREE {} 1:[email protected] #4294967037 1:[email protected] #4294967037
187
- LITERAL Integer 1 1:[email protected] #4294967037
188
- PUNCH ; [alone] 1:[email protected] #4294967037
189
- LITERAL Float 1.0 1:[email protected] #4294967037
190
- PUNCH ; [alone] 1:[email protected] #4294967037
191
- SUBTREE () 1:[email protected] #4294967037 1:[email protected] #4294967037
192
- SUBTREE () 1:[email protected] #4294967037 1:[email protected] #4294967037
193
- LITERAL Integer 1 1:[email protected] #4294967037
194
- PUNCH , [alone] 1:[email protected] #4294967037
195
- PUNCH , [alone] 1:[email protected] #4294967037
196
- PUNCH . [alone] 1:[email protected] #4294967037
197
- LITERAL Float 0.0 1:[email protected] #4294967037
198
- PUNCH ; [alone] 1:[email protected] #4294967037
199
- IDENT let 1:[email protected] #4294967037
200
- IDENT x 1:[email protected] #4294967037
201
- PUNCH = [alone] 1:[email protected] #4294967037
202
- LITERAL Integer 1 1:[email protected] #4294967037
203
- PUNCH ; [alone] 1:[email protected] #4294967037
182
+ SUBTREE $$ 1:[email protected] #ROOT2021 1:[email protected] #ROOT2021
183
+ IDENT fn 1:[email protected] #ROOT2021
184
+ IDENT main 1:[email protected] #ROOT2021
185
+ SUBTREE () 1:[email protected] #ROOT2021 1:[email protected] #ROOT2021
186
+ SUBTREE {} 1:[email protected] #ROOT2021 1:[email protected] #ROOT2021
187
+ LITERAL Integer 1 1:[email protected] #ROOT2021
188
+ PUNCH ; [alone] 1:[email protected] #ROOT2021
189
+ LITERAL Float 1.0 1:[email protected] #ROOT2021
190
+ PUNCH ; [alone] 1:[email protected] #ROOT2021
191
+ SUBTREE () 1:[email protected] #ROOT2021 1:[email protected] #ROOT2021
192
+ SUBTREE () 1:[email protected] #ROOT2021 1:[email protected] #ROOT2021
193
+ LITERAL Integer 1 1:[email protected] #ROOT2021
194
+ PUNCH , [alone] 1:[email protected] #ROOT2021
195
+ PUNCH , [alone] 1:[email protected] #ROOT2021
196
+ PUNCH . [alone] 1:[email protected] #ROOT2021
197
+ LITERAL Float 0.0 1:[email protected] #ROOT2021
198
+ PUNCH ; [alone] 1:[email protected] #ROOT2021
199
+ IDENT let 1:[email protected] #ROOT2021
200
+ IDENT x 1:[email protected] #ROOT2021
201
+ PUNCH = [alone] 1:[email protected] #ROOT2021
202
+ LITERAL Integer 1 1:[email protected] #ROOT2021
203
+ PUNCH ; [alone] 1:[email protected] #ROOT2021
204
204
205
205
fn main(){
206
206
1;
@@ -226,14 +226,14 @@ fn expr_2021() {
226
226
const { 1 },
227
227
"# ,
228
228
expect ! [ [ r#"
229
- SUBTREE $$ 1:[email protected] #4294967037 1:[email protected] #4294967037
230
- IDENT _ 1:[email protected] #4294967037
231
- PUNCH ; [joint] 0:[email protected] #4294967037
232
- SUBTREE () 0:[email protected] #4294967037 0:[email protected] #4294967037
233
- IDENT const 1:[email protected] #4294967037
234
- SUBTREE {} 1:[email protected] #4294967037 1:[email protected] #4294967037
235
- LITERAL Integer 1 1:[email protected] #4294967037
236
- PUNCH ; [alone] 0:[email protected] #4294967037
229
+ SUBTREE $$ 1:[email protected] #ROOT2021 1:[email protected] #ROOT2021
230
+ IDENT _ 1:[email protected] #ROOT2021
231
+ PUNCH ; [joint] 0:[email protected] #ROOT2021
232
+ SUBTREE () 0:[email protected] #ROOT2021 0:[email protected] #ROOT2021
233
+ IDENT const 1:[email protected] #ROOT2021
234
+ SUBTREE {} 1:[email protected] #ROOT2021 1:[email protected] #ROOT2021
235
+ LITERAL Integer 1 1:[email protected] #ROOT2021
236
+ PUNCH ; [alone] 0:[email protected] #ROOT2021
237
237
238
238
_;
239
239
(const {
@@ -254,13 +254,13 @@ fn expr_2021() {
254
254
expect ! [ [ r#"
255
255
ExpandError {
256
256
inner: (
257
-
257
+
258
258
NoMatchingRule,
259
259
),
260
260
}
261
261
262
- SUBTREE $$ 1:[email protected] #4294967037 1:[email protected] #4294967037
263
- PUNCH ; [alone] 0:[email protected] #4294967037
262
+ SUBTREE $$ 1:[email protected] #ROOT2021 1:[email protected] #ROOT2021
263
+ PUNCH ; [alone] 0:[email protected] #ROOT2021
264
264
265
265
;"# ] ] ,
266
266
) ;
@@ -278,13 +278,13 @@ fn expr_2021() {
278
278
expect ! [ [ r#"
279
279
ExpandError {
280
280
inner: (
281
-
281
+
282
282
NoMatchingRule,
283
283
),
284
284
}
285
285
286
- SUBTREE $$ 1:[email protected] #4294967037 1:[email protected] #4294967037
287
- PUNCH ; [alone] 0:[email protected] #4294967037
286
+ SUBTREE $$ 1:[email protected] #ROOT2021 1:[email protected] #ROOT2021
287
+ PUNCH ; [alone] 0:[email protected] #ROOT2021
288
288
289
289
;"# ] ] ,
290
290
) ;
@@ -304,26 +304,26 @@ fn expr_2021() {
304
304
break 'foo bar,
305
305
"# ,
306
306
expect ! [ [ r#"
307
- SUBTREE $$ 1:[email protected] #4294967037 1:[email protected] #4294967037
308
- LITERAL Integer 4 1:[email protected] #4294967037
309
- PUNCH ; [joint] 0:[email protected] #4294967037
310
- LITERAL Str literal 1:[email protected] #4294967037
311
- PUNCH ; [joint] 0:[email protected] #4294967037
312
- SUBTREE () 0:[email protected] #4294967037 0:[email protected] #4294967037
313
- IDENT funcall 1:[email protected] #4294967037
314
- SUBTREE () 1:[email protected] #4294967037 1:[email protected] #4294967037
315
- PUNCH ; [joint] 0:[email protected] #4294967037
316
- SUBTREE () 0:[email protected] #4294967037 0:[email protected] #4294967037
317
- IDENT future 1:[email protected] #4294967037
318
- PUNCH . [alone] 1:[email protected] #4294967037
319
- IDENT await 1:[email protected] #4294967037
320
- PUNCH ; [joint] 0:[email protected] #4294967037
321
- SUBTREE () 0:[email protected] #4294967037 0:[email protected] #4294967037
322
- IDENT break 1:[email protected] #4294967037
323
- PUNCH ' [joint] 1:[email protected] #4294967037
324
- IDENT foo 1:[email protected] #4294967037
325
- IDENT bar 1:[email protected] #4294967037
326
- PUNCH ; [alone] 0:[email protected] #4294967037
307
+ SUBTREE $$ 1:[email protected] #ROOT2021 1:[email protected] #ROOT2021
308
+ LITERAL Integer 4 1:[email protected] #ROOT2021
309
+ PUNCH ; [joint] 0:[email protected] #ROOT2021
310
+ LITERAL Str literal 1:[email protected] #ROOT2021
311
+ PUNCH ; [joint] 0:[email protected] #ROOT2021
312
+ SUBTREE () 0:[email protected] #ROOT2021 0:[email protected] #ROOT2021
313
+ IDENT funcall 1:[email protected] #ROOT2021
314
+ SUBTREE () 1:[email protected] #ROOT2021 1:[email protected] #ROOT2021
315
+ PUNCH ; [joint] 0:[email protected] #ROOT2021
316
+ SUBTREE () 0:[email protected] #ROOT2021 0:[email protected] #ROOT2021
317
+ IDENT future 1:[email protected] #ROOT2021
318
+ PUNCH . [alone] 1:[email protected] #ROOT2021
319
+ IDENT await 1:[email protected] #ROOT2021
320
+ PUNCH ; [joint] 0:[email protected] #ROOT2021
321
+ SUBTREE () 0:[email protected] #ROOT2021 0:[email protected] #ROOT2021
322
+ IDENT break 1:[email protected] #ROOT2021
323
+ PUNCH ' [joint] 1:[email protected] #ROOT2021
324
+ IDENT foo 1:[email protected] #ROOT2021
325
+ IDENT bar 1:[email protected] #ROOT2021
326
+ PUNCH ; [alone] 0:[email protected] #ROOT2021
327
327
328
328
4;
329
329
"literal";
@@ -345,13 +345,13 @@ fn expr_2021() {
345
345
expect ! [ [ r#"
346
346
ExpandError {
347
347
inner: (
348
-
348
+
349
349
NoMatchingRule,
350
350
),
351
351
}
352
352
353
- SUBTREE $$ 1:[email protected] #4294967037 1:[email protected] #4294967037
354
- PUNCH ; [alone] 0:[email protected] #4294967037
353
+ SUBTREE $$ 1:[email protected] #ROOT2021 1:[email protected] #ROOT2021
354
+ PUNCH ; [alone] 0:[email protected] #ROOT2021
355
355
356
356
;"# ] ] ,
357
357
) ;
0 commit comments