fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

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