rust/src/test/ui/lint/lint-malformed.stderr

16 lines
435 B
Plaintext
Raw Normal View History

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:1:1
2018-08-08 07:28:26 -05:00
|
LL | #![deny = "foo"] //~ ERROR malformed lint attribute
| ^^^^^^^^^^^^^^^^
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
|
LL | #![allow(bar = "baz")] //~ ERROR malformed lint attribute
| ^^^^^^^^^^^
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0452`.