fork/rust

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

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

1.42.0
1.3 KiB45 linesraw
1error[E0452]: malformed lint attribute input
2  --> $DIR/lint-malformed.rs:2:10
3   |
4LL | #![allow(bar = "baz")]
5   |          ^^^^^^^^^^^ bad attribute argument
6
7error[E0452]: malformed lint attribute input
8  --> $DIR/lint-malformed.rs:2:10
9   |
10LL | #![allow(bar = "baz")]
11   |          ^^^^^^^^^^^ bad attribute argument
12
13error: malformed `deny` attribute input
14  --> $DIR/lint-malformed.rs:1:1
15   |
16LL | #![deny = "foo"]
17   | ^^^^^^^^^^^^^^^^ help: must be of the form: `#[deny(lint1, lint2, ..., /*opt*/ reason = "...")]`
18
19error[E0452]: malformed lint attribute input
20  --> $DIR/lint-malformed.rs:2:10
21   |
22LL | #![allow(bar = "baz")]
23   |          ^^^^^^^^^^^ bad attribute argument
24
25error[E0452]: malformed lint attribute input
26  --> $DIR/lint-malformed.rs:2:10
27   |
28LL | #![allow(bar = "baz")]
29   |          ^^^^^^^^^^^ bad attribute argument
30
31error[E0452]: malformed lint attribute input
32  --> $DIR/lint-malformed.rs:2:10
33   |
34LL | #![allow(bar = "baz")]
35   |          ^^^^^^^^^^^ bad attribute argument
36
37error[E0452]: malformed lint attribute input
38  --> $DIR/lint-malformed.rs:2:10
39   |
40LL | #![allow(bar = "baz")]
41   |          ^^^^^^^^^^^ bad attribute argument
42
43error: aborting due to 7 previous errors
44
45For more information about this error, try `rustc --explain E0452`.