rust/src/test/ui/lint/lint-unknown-lint.stderr
Vadim Petrochenkov fa72a81bea Update tests
2019-03-11 23:10:26 +03:00

21 lines
470 B
Plaintext

error: unknown lint: `not_a_real_lint`
--> $DIR/lint-unknown-lint.rs:3:10
|
LL | #![allow(not_a_real_lint)]
| ^^^^^^^^^^^^^^^
|
note: lint level defined here
--> $DIR/lint-unknown-lint.rs:1:9
|
LL | #![deny(unknown_lints)]
| ^^^^^^^^^^^^^
error: unknown lint: `dead_cod`
--> $DIR/lint-unknown-lint.rs:5:9
|
LL | #![deny(dead_cod)]
| ^^^^^^^^ help: did you mean: `dead_code`
error: aborting due to 2 previous errors