fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
1.8 KiB74 linesraw
1error: repetition matches empty token tree
2  --> $DIR/issue-57597.rs:8:7
3   |
4LL |     ($($($i:ident)?)+) => {};
5   |       ^^^^^^^^^^^^^^
6
7error: repetition matches empty token tree
8  --> $DIR/issue-57597.rs:13:7
9   |
10LL |     ($($($i:ident)?)*) => {};
11   |       ^^^^^^^^^^^^^^
12
13error: repetition matches empty token tree
14  --> $DIR/issue-57597.rs:18:7
15   |
16LL |     ($($($i:ident)?)?) => {};
17   |       ^^^^^^^^^^^^^^
18
19error: repetition matches empty token tree
20  --> $DIR/issue-57597.rs:23:7
21   |
22LL |     ($($($($i:ident)?)?)?) => {};
23   |       ^^^^^^^^^^^^^^^^^^
24
25error: repetition matches empty token tree
26  --> $DIR/issue-57597.rs:28:7
27   |
28LL |     ($($($($i:ident)*)?)?) => {};
29   |       ^^^^^^^^^^^^^^^^^^
30
31error: repetition matches empty token tree
32  --> $DIR/issue-57597.rs:33:7
33   |
34LL |     ($($($($i:ident)?)*)?) => {};
35   |       ^^^^^^^^^^^^^^^^^^
36
37error: repetition matches empty token tree
38  --> $DIR/issue-57597.rs:38:7
39   |
40LL |     ($($($($i:ident)?)?)*) => {};
41   |       ^^^^^^^^^^^^^^^^^^
42
43error: repetition matches empty token tree
44  --> $DIR/issue-57597.rs:43:7
45   |
46LL |     ($($($($i:ident)*)*)?) => {};
47   |       ^^^^^^^^^^^^^^^^^^
48
49error: repetition matches empty token tree
50  --> $DIR/issue-57597.rs:48:7
51   |
52LL |     ($($($($i:ident)?)*)*) => {};
53   |       ^^^^^^^^^^^^^^^^^^
54
55error: repetition matches empty token tree
56  --> $DIR/issue-57597.rs:53:7
57   |
58LL |     ($($($($i:ident)?)*)+) => {};
59   |       ^^^^^^^^^^^^^^^^^^
60
61error: repetition matches empty token tree
62  --> $DIR/issue-57597.rs:58:7
63   |
64LL |     ($($($($i:ident)+)?)*) => {};
65   |       ^^^^^^^^^^^^^^^^^^
66
67error: repetition matches empty token tree
68  --> $DIR/issue-57597.rs:63:7
69   |
70LL |     ($($($($i:ident)+)*)?) => {};
71   |       ^^^^^^^^^^^^^^^^^^
72
73error: aborting due to 12 previous errors
74