]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/lint-malformed.stderr
Auto merge of #106884 - clubby789:fieldless-enum-debug, r=michaelwoerister
[rust.git] / tests / ui / lint / lint-malformed.stderr
1 error[E0452]: malformed lint attribute input
2   --> $DIR/lint-malformed.rs:2:10
3    |
4 LL | #![allow(bar = "baz")]
5    |          ^^^^^^^^^^^ bad attribute argument
6
7 error[E0452]: malformed lint attribute input
8   --> $DIR/lint-malformed.rs:2:10
9    |
10 LL | #![allow(bar = "baz")]
11    |          ^^^^^^^^^^^ bad attribute argument
12
13 error: malformed `deny` attribute input
14   --> $DIR/lint-malformed.rs:1:1
15    |
16 LL | #![deny = "foo"]
17    | ^^^^^^^^^^^^^^^^ help: must be of the form: `#![deny(lint1, lint2, ..., /*opt*/ reason = "...")]`
18
19 error[E0452]: malformed lint attribute input
20   --> $DIR/lint-malformed.rs:2:10
21    |
22 LL | #![allow(bar = "baz")]
23    |          ^^^^^^^^^^^ bad attribute argument
24
25 error[E0452]: malformed lint attribute input
26   --> $DIR/lint-malformed.rs:2:10
27    |
28 LL | #![allow(bar = "baz")]
29    |          ^^^^^^^^^^^ bad attribute argument
30
31 error: aborting due to 5 previous errors
32
33 For more information about this error, try `rustc --explain E0452`.