@@ -54,10 +54,10 @@ LL | ($p:pat ident) => {}; //~ERROR `$p:pat` is followed by `ident`
54
54
|
55
55
= note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in`
56
56
57
- error: `$p:pat` is followed by `$p :pat`, which is not allowed for `pat` fragments
57
+ error: `$p:pat` is followed by `$q :pat`, which is not allowed for `pat` fragments
58
58
--> $DIR/macro-follow.rs:15:13
59
59
|
60
- LL | ($p:pat $p :pat) => {}; //~ERROR `$p:pat` is followed by `$p :pat`
60
+ LL | ($p:pat $q :pat) => {}; //~ERROR `$p:pat` is followed by `$q :pat`
61
61
| ^^^^^^ not allowed after `pat` fragments
62
62
|
63
63
= note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in`
@@ -86,10 +86,10 @@ LL | ($p:pat $s:stmt) => {}; //~ERROR `$p:pat` is followed by `$s:stmt`
86
86
|
87
87
= note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in`
88
88
89
- error: `$p:pat` is followed by `$p :path`, which is not allowed for `pat` fragments
89
+ error: `$p:pat` is followed by `$q :path`, which is not allowed for `pat` fragments
90
90
--> $DIR/macro-follow.rs:19:13
91
91
|
92
- LL | ($p:pat $p :path) => {}; //~ERROR `$p:pat` is followed by `$p :path`
92
+ LL | ($p:pat $q :path) => {}; //~ERROR `$p:pat` is followed by `$q :path`
93
93
| ^^^^^^^ not allowed after `pat` fragments
94
94
|
95
95
= note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in`
@@ -230,10 +230,10 @@ LL | ($e:expr $p:pat) => {}; //~ERROR `$e:expr` is followed by `$p:pat`
230
230
|
231
231
= note: allowed there are: `=>`, `,` or `;`
232
232
233
- error: `$e:expr` is followed by `$e :expr`, which is not allowed for `expr` fragments
233
+ error: `$e:expr` is followed by `$f :expr`, which is not allowed for `expr` fragments
234
234
--> $DIR/macro-follow.rs:40:14
235
235
|
236
- LL | ($e:expr $e :expr) => {}; //~ERROR `$e:expr` is followed by `$e :expr`
236
+ LL | ($e:expr $f :expr) => {}; //~ERROR `$e:expr` is followed by `$f :expr`
237
237
| ^^^^^^^ not allowed after `expr` fragments
238
238
|
239
239
= note: allowed there are: `=>`, `,` or `;`
@@ -350,10 +350,10 @@ LL | ($t:ty $e:expr) => {}; //~ERROR `$t:ty` is followed by `$e:expr`
350
350
|
351
351
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
352
352
353
- error: `$t:ty` is followed by `$t :ty`, which is not allowed for `ty` fragments
353
+ error: `$t:ty` is followed by `$r :ty`, which is not allowed for `ty` fragments
354
354
--> $DIR/macro-follow.rs:60:12
355
355
|
356
- LL | ($t:ty $t :ty) => {}; //~ERROR `$t:ty` is followed by `$t :ty`
356
+ LL | ($t:ty $r :ty) => {}; //~ERROR `$t:ty` is followed by `$r :ty`
357
357
| ^^^^^ not allowed after `ty` fragments
358
358
|
359
359
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
@@ -382,10 +382,10 @@ LL | ($t:ty $i:ident) => {}; //~ERROR `$t:ty` is followed by `$i:ident`
382
382
|
383
383
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
384
384
385
- error: `$t:ty` is followed by `$t :tt`, which is not allowed for `ty` fragments
385
+ error: `$t:ty` is followed by `$r :tt`, which is not allowed for `ty` fragments
386
386
--> $DIR/macro-follow.rs:65:12
387
387
|
388
- LL | ($t:ty $t :tt) => {}; //~ERROR `$t:ty` is followed by `$t :tt`
388
+ LL | ($t:ty $r :tt) => {}; //~ERROR `$t:ty` is followed by `$r :tt`
389
389
| ^^^^^ not allowed after `ty` fragments
390
390
|
391
391
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
@@ -518,10 +518,10 @@ LL | ($s:stmt $t:ty) => {}; //~ERROR `$s:stmt` is followed by `$t:ty`
518
518
|
519
519
= note: allowed there are: `=>`, `,` or `;`
520
520
521
- error: `$s:stmt` is followed by `$s :stmt`, which is not allowed for `stmt` fragments
521
+ error: `$s:stmt` is followed by `$t :stmt`, which is not allowed for `stmt` fragments
522
522
--> $DIR/macro-follow.rs:85:14
523
523
|
524
- LL | ($s:stmt $s :stmt) => {}; //~ERROR `$s:stmt` is followed by `$s :stmt`
524
+ LL | ($s:stmt $t :stmt) => {}; //~ERROR `$s:stmt` is followed by `$t :stmt`
525
525
| ^^^^^^^ not allowed after `stmt` fragments
526
526
|
527
527
= note: allowed there are: `=>`, `,` or `;`
@@ -606,10 +606,10 @@ LL | ($p:path if) => {}; //~ERROR `$p:path` is followed by `if`
606
606
|
607
607
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
608
608
609
- error: `$p:path` is followed by `$p :pat`, which is not allowed for `path` fragments
609
+ error: `$p:path` is followed by `$q :pat`, which is not allowed for `path` fragments
610
610
--> $DIR/macro-follow.rs:100:14
611
611
|
612
- LL | ($p:path $p :pat) => {}; //~ERROR `$p:path` is followed by `$p :pat`
612
+ LL | ($p:path $q :pat) => {}; //~ERROR `$p:path` is followed by `$q :pat`
613
613
| ^^^^^^ not allowed after `path` fragments
614
614
|
615
615
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
@@ -638,10 +638,10 @@ LL | ($p:path $s:stmt) => {}; //~ERROR `$p:path` is followed by `$s:stmt`
638
638
|
639
639
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
640
640
641
- error: `$p:path` is followed by `$p :path`, which is not allowed for `path` fragments
641
+ error: `$p:path` is followed by `$q :path`, which is not allowed for `path` fragments
642
642
--> $DIR/macro-follow.rs:104:14
643
643
|
644
- LL | ($p:path $p :path) => {}; //~ERROR `$p:path` is followed by `$p :path`
644
+ LL | ($p:path $q :path) => {}; //~ERROR `$p:path` is followed by `$q :path`
645
645
| ^^^^^^^ not allowed after `path` fragments
646
646
|
647
647
= note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
0 commit comments