summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/lint-malformed.stderr
blob: 91b4e509b269efd791789ebcfd645c8dd48b15da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
error[E0452]: malformed lint attribute input
  --> $DIR/lint-malformed.rs:2:10
   |
LL | #![allow(bar = "baz")]
   |          ^^^^^^^^^^^ bad attribute argument

error[E0452]: malformed lint attribute input
  --> $DIR/lint-malformed.rs:2:10
   |
LL | #![allow(bar = "baz")]
   |          ^^^^^^^^^^^ bad attribute argument

error: malformed `deny` attribute input
  --> $DIR/lint-malformed.rs:1:1
   |
LL | #![deny = "foo"]
   | ^^^^^^^^^^^^^^^^ help: must be of the form: `#![deny(lint1, lint2, ..., /*opt*/ reason = "...")]`

error[E0452]: malformed lint attribute input
  --> $DIR/lint-malformed.rs:2:10
   |
LL | #![allow(bar = "baz")]
   |          ^^^^^^^^^^^ bad attribute argument

error[E0452]: malformed lint attribute input
  --> $DIR/lint-malformed.rs:2:10
   |
LL | #![allow(bar = "baz")]
   |          ^^^^^^^^^^^ bad attribute argument

error: aborting due to 5 previous errors

For more information about this error, try `rustc --explain E0452`.