]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-malformed.stderr
Move parse-fail tests to UI
[rust.git] / src / test / ui / lint / lint-malformed.stderr
1 error[E0452]: malformed lint attribute
2   --> $DIR/lint-malformed.rs:11:1
3    |
4 LL | #![deny = "foo"] //~ ERROR malformed lint attribute
5    | ^^^^^^^^^^^^^^^^
6
7 error[E0452]: malformed lint attribute
8   --> $DIR/lint-malformed.rs:12:10
9    |
10 LL | #![allow(bar = "baz")] //~ ERROR malformed lint attribute
11    |          ^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0452`.