@@ -54,10 +54,10 @@ LL | ($p:pat ident) => {}; //~ERROR `$p:pat` is followed by `ident`
5454 |
5555 = note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in`
5656
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
5858 --> $DIR/macro-follow.rs:15:13
5959 |
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`
6161 | ^^^^^^ not allowed after `pat` fragments
6262 |
6363 = note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in`
@@ -86,10 +86,10 @@ LL | ($p:pat $s:stmt) => {}; //~ERROR `$p:pat` is followed by `$s:stmt`
8686 |
8787 = note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in`
8888
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
9090 --> $DIR/macro-follow.rs:19:13
9191 |
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`
9393 | ^^^^^^^ not allowed after `pat` fragments
9494 |
9595 = note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in`
@@ -230,10 +230,10 @@ LL | ($e:expr $p:pat) => {}; //~ERROR `$e:expr` is followed by `$p:pat`
230230 |
231231 = note: allowed there are: `=>`, `,` or `;`
232232
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
234234 --> $DIR/macro-follow.rs:40:14
235235 |
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`
237237 | ^^^^^^^ not allowed after `expr` fragments
238238 |
239239 = note: allowed there are: `=>`, `,` or `;`
@@ -350,10 +350,10 @@ LL | ($t:ty $e:expr) => {}; //~ERROR `$t:ty` is followed by `$e:expr`
350350 |
351351 = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
352352
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
354354 --> $DIR/macro-follow.rs:60:12
355355 |
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`
357357 | ^^^^^ not allowed after `ty` fragments
358358 |
359359 = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
@@ -382,10 +382,10 @@ LL | ($t:ty $i:ident) => {}; //~ERROR `$t:ty` is followed by `$i:ident`
382382 |
383383 = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
384384
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
386386 --> $DIR/macro-follow.rs:65:12
387387 |
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`
389389 | ^^^^^ not allowed after `ty` fragments
390390 |
391391 = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
@@ -518,10 +518,10 @@ LL | ($s:stmt $t:ty) => {}; //~ERROR `$s:stmt` is followed by `$t:ty`
518518 |
519519 = note: allowed there are: `=>`, `,` or `;`
520520
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
522522 --> $DIR/macro-follow.rs:85:14
523523 |
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`
525525 | ^^^^^^^ not allowed after `stmt` fragments
526526 |
527527 = note: allowed there are: `=>`, `,` or `;`
@@ -606,10 +606,10 @@ LL | ($p:path if) => {}; //~ERROR `$p:path` is followed by `if`
606606 |
607607 = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
608608
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
610610 --> $DIR/macro-follow.rs:100:14
611611 |
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`
613613 | ^^^^^^ not allowed after `path` fragments
614614 |
615615 = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
@@ -638,10 +638,10 @@ LL | ($p:path $s:stmt) => {}; //~ERROR `$p:path` is followed by `$s:stmt`
638638 |
639639 = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
640640
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
642642 --> $DIR/macro-follow.rs:104:14
643643 |
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`
645645 | ^^^^^^^ not allowed after `path` fragments
646646 |
647647 = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where`
0 commit comments