]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-malformed.stderr
Rollup merge of #85501 - jyn514:invalid-doc-attrs, r=varkor
[rust.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[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[E0452]: malformed lint attribute input
32   --> $DIR/lint-malformed.rs:2:10
33    |
34 LL | #![allow(bar = "baz")]
35    |          ^^^^^^^^^^^ bad attribute argument
36
37 error[E0452]: malformed lint attribute input
38   --> $DIR/lint-malformed.rs:2:10
39    |
40 LL | #![allow(bar = "baz")]
41    |          ^^^^^^^^^^^ bad attribute argument
42
43 error: aborting due to 7 previous errors
44
45 For more information about this error, try `rustc --explain E0452`.