2018-08-08 07:28:26 -05:00
|
|
|
error[E0452]: malformed lint attribute
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/lint-malformed.rs:2:10
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #![allow(bar = "baz")]
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
error: attribute must be of the form `#[deny(lint1, lint2, ..., /*opt*/ reason = "...")]`
|
|
|
|
--> $DIR/lint-malformed.rs:1:1
|
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #![deny = "foo"]
|
2019-01-01 17:21:05 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-08-08 07:28:26 -05:00
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0452`.
|