rust/tests/ui/lint/lint-malformed.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
1.2 KiB
Plaintext
Raw Normal View History

error[E0452]: malformed lint attribute input
2018-12-25 15:56:47 +00:00
--> $DIR/lint-malformed.rs:2:10
2018-08-08 12:28:26 +00:00
|
2019-03-09 12:03:44 +00:00
LL | #![allow(bar = "baz")]
| ^^^^^^^^^^^ bad attribute argument
2018-08-08 12:28:26 +00:00
2020-01-08 17:02:10 +00:00
error[E0452]: malformed lint attribute input
--> $DIR/lint-malformed.rs:2:10
|
LL | #![allow(bar = "baz")]
| ^^^^^^^^^^^ bad attribute argument
2023-10-04 18:34:50 +00:00
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2020-01-08 17:02:10 +00:00
error: malformed `deny` attribute input
--> $DIR/lint-malformed.rs:1:1
|
2019-03-09 12:03:44 +00:00
LL | #![deny = "foo"]
| ^^^^^^^^^^^^^^^^ help: must be of the form: `#![deny(lint1, lint2, ..., /*opt*/ reason = "...")]`
2020-01-08 17:02:10 +00:00
error[E0452]: malformed lint attribute input
--> $DIR/lint-malformed.rs:2:10
|
LL | #![allow(bar = "baz")]
| ^^^^^^^^^^^ bad attribute argument
2023-10-04 18:34:50 +00:00
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2020-01-08 17:02:10 +00:00
error[E0452]: malformed lint attribute input
--> $DIR/lint-malformed.rs:2:10
|
LL | #![allow(bar = "baz")]
| ^^^^^^^^^^^ bad attribute argument
2023-10-04 18:34:50 +00:00
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2020-01-08 17:02:10 +00:00
error: aborting due to 5 previous errors
2018-08-08 12:28:26 +00:00
For more information about this error, try `rustc --explain E0452`.