|
1 | 1 | error: repetition matches empty token tree
|
2 |
| - --> $DIR/issue-5067.rs:4:8 |
| 2 | + --> $DIR/issue-5067.rs:9:8 |
3 | 3 | |
|
4 | 4 | LL | ( $()* ) => {};
|
5 | 5 | | ^^
|
6 | 6 |
|
7 | 7 | error: repetition matches empty token tree
|
8 |
| - --> $DIR/issue-5067.rs:6:8 |
| 8 | + --> $DIR/issue-5067.rs:11:8 |
9 | 9 | |
|
10 | 10 | LL | ( $()+ ) => {};
|
11 | 11 | | ^^
|
12 | 12 |
|
13 | 13 | error: repetition matches empty token tree
|
14 |
| - --> $DIR/issue-5067.rs:12:9 |
| 14 | + --> $DIR/issue-5067.rs:13:8 |
| 15 | + | |
| 16 | +LL | ( $()? ) => {}; |
| 17 | + | ^^ |
| 18 | + |
| 19 | +error: repetition matches empty token tree |
| 20 | + --> $DIR/issue-5067.rs:18:9 |
15 | 21 | |
|
16 | 22 | LL | ( [$()*] ) => {};
|
17 | 23 | | ^^
|
18 | 24 |
|
19 | 25 | error: repetition matches empty token tree
|
20 |
| - --> $DIR/issue-5067.rs:14:9 |
| 26 | + --> $DIR/issue-5067.rs:20:9 |
21 | 27 | |
|
22 | 28 | LL | ( [$()+] ) => {};
|
23 | 29 | | ^^
|
24 | 30 |
|
25 | 31 | error: repetition matches empty token tree
|
26 |
| - --> $DIR/issue-5067.rs:20:8 |
| 32 | + --> $DIR/issue-5067.rs:22:9 |
| 33 | + | |
| 34 | +LL | ( [$()?] ) => {}; |
| 35 | + | ^^ |
| 36 | + |
| 37 | +error: repetition matches empty token tree |
| 38 | + --> $DIR/issue-5067.rs:27:8 |
27 | 39 | |
|
28 | 40 | LL | ( $($()* $(),* $(a)* $(a),* )* ) => {};
|
29 | 41 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
30 | 42 |
|
31 | 43 | error: repetition matches empty token tree
|
32 |
| - --> $DIR/issue-5067.rs:22:8 |
| 44 | + --> $DIR/issue-5067.rs:29:8 |
33 | 45 | |
|
34 | 46 | LL | ( $($()* $(),* $(a)* $(a),* )+ ) => {};
|
35 | 47 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
36 | 48 |
|
37 | 49 | error: repetition matches empty token tree
|
38 |
| - --> $DIR/issue-5067.rs:28:12 |
| 50 | + --> $DIR/issue-5067.rs:31:8 |
| 51 | + | |
| 52 | +LL | ( $($()* $(),* $(a)* $(a),* )? ) => {}; |
| 53 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 54 | + |
| 55 | +error: repetition matches empty token tree |
| 56 | + --> $DIR/issue-5067.rs:33:8 |
| 57 | + | |
| 58 | +LL | ( $($()? $(),* $(a)? $(a),* )* ) => {}; |
| 59 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 60 | + |
| 61 | +error: repetition matches empty token tree |
| 62 | + --> $DIR/issue-5067.rs:35:8 |
| 63 | + | |
| 64 | +LL | ( $($()? $(),* $(a)? $(a),* )+ ) => {}; |
| 65 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 66 | + |
| 67 | +error: repetition matches empty token tree |
| 68 | + --> $DIR/issue-5067.rs:37:8 |
| 69 | + | |
| 70 | +LL | ( $($()? $(),* $(a)? $(a),* )? ) => {}; |
| 71 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 72 | + |
| 73 | +error: repetition matches empty token tree |
| 74 | + --> $DIR/issue-5067.rs:47:12 |
39 | 75 | |
|
40 | 76 | LL | ( $(a $()+)* ) => {};
|
41 | 77 | | ^^
|
42 | 78 |
|
43 | 79 | error: repetition matches empty token tree
|
44 |
| - --> $DIR/issue-5067.rs:30:12 |
| 80 | + --> $DIR/issue-5067.rs:49:12 |
45 | 81 | |
|
46 | 82 | LL | ( $(a $()*)+ ) => {};
|
47 | 83 | | ^^
|
48 | 84 |
|
49 | 85 | error: repetition matches empty token tree
|
50 |
| - --> $DIR/issue-5067.rs:38:18 |
| 86 | + --> $DIR/issue-5067.rs:51:12 |
| 87 | + | |
| 88 | +LL | ( $(a $()+)? ) => {}; |
| 89 | + | ^^ |
| 90 | + |
| 91 | +error: repetition matches empty token tree |
| 92 | + --> $DIR/issue-5067.rs:53:12 |
| 93 | + | |
| 94 | +LL | ( $(a $()?)+ ) => {}; |
| 95 | + | ^^ |
| 96 | + |
| 97 | +error: repetition matches empty token tree |
| 98 | + --> $DIR/issue-5067.rs:60:18 |
51 | 99 | |
|
52 | 100 | LL | (a $e1:expr $($(, a $e2:expr)*)*) => ([$e1 $($(, $e2)*)*]);
|
53 | 101 | | ^^^^^^^^^^^^^^^^^^
|
54 | 102 |
|
55 | 103 | error: repetition matches empty token tree
|
56 |
| - --> $DIR/issue-5067.rs:50:8 |
| 104 | + --> $DIR/issue-5067.rs:71:8 |
57 | 105 | |
|
58 |
| -LL | ( $()* ) => {} |
| 106 | +LL | ( $()* ) => {}; |
59 | 107 | | ^^
|
60 | 108 |
|
61 |
| -error: aborting due to 10 previous errors |
| 109 | +error: aborting due to 18 previous errors |
62 | 110 |
|
0 commit comments