]> git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/lint-malformed.stderr
New upstream version 1.39.0+dfsg1
[rustc.git] / src / test / 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: malformed `deny` attribute input
8 --> $DIR/lint-malformed.rs:1:1
9 |
10 LL | #![deny = "foo"]
11 | ^^^^^^^^^^^^^^^^ help: must be of the form: `#[deny(lint1, lint2, ..., /*opt*/ reason = "...")]`
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0452`.