|
1 | 1 | error: `$p:pat` is followed by `(`, which is not allowed for `pat` fragments |
2 | | - --> $DIR/macro-follow.rs:8:14 |
| 2 | + --> $DIR/macro-follow.rs:8:13 |
3 | 3 | | |
4 | 4 | LL | ($p:pat ()) => {}; |
5 | | - | ^ not allowed after `pat` fragments |
| 5 | + | ^ not allowed after `pat` fragments |
6 | 6 | | |
7 | 7 | = note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in` |
8 | 8 |
|
9 | 9 | error: `$p:pat` is followed by `[`, which is not allowed for `pat` fragments |
10 | | - --> $DIR/macro-follow.rs:9:14 |
| 10 | + --> $DIR/macro-follow.rs:9:13 |
11 | 11 | | |
12 | 12 | LL | ($p:pat []) => {}; |
13 | | - | ^ not allowed after `pat` fragments |
| 13 | + | ^ not allowed after `pat` fragments |
14 | 14 | | |
15 | 15 | = note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in` |
16 | 16 |
|
17 | 17 | error: `$p:pat` is followed by `{`, which is not allowed for `pat` fragments |
18 | | - --> $DIR/macro-follow.rs:10:14 |
| 18 | + --> $DIR/macro-follow.rs:10:13 |
19 | 19 | | |
20 | 20 | LL | ($p:pat {}) => {}; |
21 | | - | ^ not allowed after `pat` fragments |
| 21 | + | ^ not allowed after `pat` fragments |
22 | 22 | | |
23 | 23 | = note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in` |
24 | 24 |
|
@@ -135,26 +135,26 @@ LL | ($p:pat $m:meta) => {}; |
135 | 135 | = note: allowed there are: `=>`, `,`, `=`, `|`, `if` or `in` |
136 | 136 |
|
137 | 137 | error: `$e:expr` is followed by `(`, which is not allowed for `expr` fragments |
138 | | - --> $DIR/macro-follow.rs:28:15 |
| 138 | + --> $DIR/macro-follow.rs:28:14 |
139 | 139 | | |
140 | 140 | LL | ($e:expr ()) => {}; |
141 | | - | ^ not allowed after `expr` fragments |
| 141 | + | ^ not allowed after `expr` fragments |
142 | 142 | | |
143 | 143 | = note: allowed there are: `=>`, `,` or `;` |
144 | 144 |
|
145 | 145 | error: `$e:expr` is followed by `[`, which is not allowed for `expr` fragments |
146 | | - --> $DIR/macro-follow.rs:29:15 |
| 146 | + --> $DIR/macro-follow.rs:29:14 |
147 | 147 | | |
148 | 148 | LL | ($e:expr []) => {}; |
149 | | - | ^ not allowed after `expr` fragments |
| 149 | + | ^ not allowed after `expr` fragments |
150 | 150 | | |
151 | 151 | = note: allowed there are: `=>`, `,` or `;` |
152 | 152 |
|
153 | 153 | error: `$e:expr` is followed by `{`, which is not allowed for `expr` fragments |
154 | | - --> $DIR/macro-follow.rs:30:15 |
| 154 | + --> $DIR/macro-follow.rs:30:14 |
155 | 155 | | |
156 | 156 | LL | ($e:expr {}) => {}; |
157 | | - | ^ not allowed after `expr` fragments |
| 157 | + | ^ not allowed after `expr` fragments |
158 | 158 | | |
159 | 159 | = note: allowed there are: `=>`, `,` or `;` |
160 | 160 |
|
@@ -303,10 +303,10 @@ LL | ($e:expr $m:meta) => {}; |
303 | 303 | = note: allowed there are: `=>`, `,` or `;` |
304 | 304 |
|
305 | 305 | error: `$t:ty` is followed by `(`, which is not allowed for `ty` fragments |
306 | | - --> $DIR/macro-follow.rs:53:13 |
| 306 | + --> $DIR/macro-follow.rs:53:12 |
307 | 307 | | |
308 | 308 | LL | ($t:ty ()) => {}; |
309 | | - | ^ not allowed after `ty` fragments |
| 309 | + | ^ not allowed after `ty` fragments |
310 | 310 | | |
311 | 311 | = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where` |
312 | 312 |
|
@@ -407,26 +407,26 @@ LL | ($t:ty $m:meta) => {}; |
407 | 407 | = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where` |
408 | 408 |
|
409 | 409 | error: `$s:stmt` is followed by `(`, which is not allowed for `stmt` fragments |
410 | | - --> $DIR/macro-follow.rs:71:15 |
| 410 | + --> $DIR/macro-follow.rs:71:14 |
411 | 411 | | |
412 | 412 | LL | ($s:stmt ()) => {}; |
413 | | - | ^ not allowed after `stmt` fragments |
| 413 | + | ^ not allowed after `stmt` fragments |
414 | 414 | | |
415 | 415 | = note: allowed there are: `=>`, `,` or `;` |
416 | 416 |
|
417 | 417 | error: `$s:stmt` is followed by `[`, which is not allowed for `stmt` fragments |
418 | | - --> $DIR/macro-follow.rs:72:15 |
| 418 | + --> $DIR/macro-follow.rs:72:14 |
419 | 419 | | |
420 | 420 | LL | ($s:stmt []) => {}; |
421 | | - | ^ not allowed after `stmt` fragments |
| 421 | + | ^ not allowed after `stmt` fragments |
422 | 422 | | |
423 | 423 | = note: allowed there are: `=>`, `,` or `;` |
424 | 424 |
|
425 | 425 | error: `$s:stmt` is followed by `{`, which is not allowed for `stmt` fragments |
426 | | - --> $DIR/macro-follow.rs:73:15 |
| 426 | + --> $DIR/macro-follow.rs:73:14 |
427 | 427 | | |
428 | 428 | LL | ($s:stmt {}) => {}; |
429 | | - | ^ not allowed after `stmt` fragments |
| 429 | + | ^ not allowed after `stmt` fragments |
430 | 430 | | |
431 | 431 | = note: allowed there are: `=>`, `,` or `;` |
432 | 432 |
|
@@ -575,10 +575,10 @@ LL | ($s:stmt $m:meta) => {}; |
575 | 575 | = note: allowed there are: `=>`, `,` or `;` |
576 | 576 |
|
577 | 577 | error: `$p:path` is followed by `(`, which is not allowed for `path` fragments |
578 | | - --> $DIR/macro-follow.rs:95:15 |
| 578 | + --> $DIR/macro-follow.rs:95:14 |
579 | 579 | | |
580 | 580 | LL | ($p:path ()) => {}; |
581 | | - | ^ not allowed after `path` fragments |
| 581 | + | ^ not allowed after `path` fragments |
582 | 582 | | |
583 | 583 | = note: allowed there are: `{`, `[`, `=>`, `,`, `>`, `=`, `:`, `;`, `|`, `as` or `where` |
584 | 584 |
|
|
0 commit comments