2019-05-21 19:47:23 -05:00
|
|
|
error[E0452]: malformed lint attribute input
|
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")]
|
2019-05-21 19:47:23 -05:00
|
|
|
| ^^^^^^^^^^^ bad attribute argument
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2020-01-08 11:02:10 -06:00
|
|
|
error[E0452]: malformed lint attribute input
|
|
|
|
--> $DIR/lint-malformed.rs:2:10
|
|
|
|
|
|
|
|
|
LL | #![allow(bar = "baz")]
|
|
|
|
| ^^^^^^^^^^^ bad attribute argument
|
2023-10-04 13:34:50 -05:00
|
|
|
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
2020-01-08 11:02:10 -06:00
|
|
|
|
2019-05-21 19:47:23 -05:00
|
|
|
error: malformed `deny` attribute input
|
2019-01-01 17:21:05 -06:00
|
|
|
--> $DIR/lint-malformed.rs:1:1
|
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #![deny = "foo"]
|
2021-09-16 19:48:06 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^ help: must be of the form: `#![deny(lint1, lint2, ..., /*opt*/ reason = "...")]`
|
2019-01-01 17:21:05 -06:00
|
|
|
|
2020-01-08 11:02:10 -06:00
|
|
|
error[E0452]: malformed lint attribute input
|
|
|
|
--> $DIR/lint-malformed.rs:2:10
|
|
|
|
|
|
|
|
|
LL | #![allow(bar = "baz")]
|
|
|
|
| ^^^^^^^^^^^ bad attribute argument
|
2023-10-04 13:34:50 -05:00
|
|
|
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
2020-01-08 11:02:10 -06:00
|
|
|
|
|
|
|
error[E0452]: malformed lint attribute input
|
|
|
|
--> $DIR/lint-malformed.rs:2:10
|
|
|
|
|
|
|
|
|
LL | #![allow(bar = "baz")]
|
|
|
|
| ^^^^^^^^^^^ bad attribute argument
|
2023-10-04 13:34:50 -05:00
|
|
|
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
2020-01-08 11:02:10 -06:00
|
|
|
|
2021-02-28 12:24:46 -06:00
|
|
|
error: aborting due to 5 previous errors
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0452`.
|