fork/rust

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

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

1.40.0
819 B32 linesraw
1error: expected identifier, found `)`
2  --> $DIR/cfg-attr-parse.rs:4:12
3   |
4LL | #[cfg_attr()]
5   |            ^ expected identifier
6
7error: expected `,`, found `)`
8  --> $DIR/cfg-attr-parse.rs:8:17
9   |
10LL | #[cfg_attr(all())]
11   |                 ^ expected `,`
12
13error: expected identifier, found `,`
14  --> $DIR/cfg-attr-parse.rs:16:18
15   |
16LL | #[cfg_attr(all(),,)]
17   |                  ^ expected identifier
18
19error: expected identifier, found `,`
20  --> $DIR/cfg-attr-parse.rs:28:28
21   |
22LL | #[cfg_attr(all(), must_use,,)]
23   |                            ^ expected identifier
24
25error: expected identifier, found `,`
26  --> $DIR/cfg-attr-parse.rs:40:40
27   |
28LL | #[cfg_attr(all(), must_use, deprecated,,)]
29   |                                        ^ expected identifier
30
31error: aborting due to 5 previous errors
32