fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
970 B33 linesraw
1error: macro expansion ignores token `,` and any following
2  --> $DIR/macro-incomplete-parse.rs:5:9
3   |
4LL |         ,
5   |         ^
6...
7LL | ignored_item!();
8   | ---------------- caused by the macro expansion here
9   |
10   = note: the usage of `ignored_item!` is likely invalid in item context
11
12error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,`
13  --> $DIR/macro-incomplete-parse.rs:10:14
14   |
15LL |     () => ( 1,
16   |              ^ expected one of `.`, `;`, `?`, `}`, or an operator here
17...
18LL |     ignored_expr!();
19   |     ---------------- in this macro invocation
20
21error: macro expansion ignores token `,` and any following
22  --> $DIR/macro-incomplete-parse.rs:16:14
23   |
24LL |     () => ( 1, 2 )
25   |              ^
26...
27LL |         ignored_pat!() => (),
28   |         -------------- caused by the macro expansion here
29   |
30   = note: the usage of `ignored_pat!` is likely invalid in pattern context
31
32error: aborting due to 3 previous errors
33