rust/tests/ui/lint/lint-unknown-lint.stderr
2023-01-11 09:32:08 +00:00

27 lines
660 B
Plaintext

error: unknown lint: `not_a_real_lint`
--> $DIR/lint-unknown-lint.rs:3:10
|
LL | #![allow(not_a_real_lint)]
| ^^^^^^^^^^^^^^^
|
note: the lint level is 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: unknown lint: `rust_2018_idiots`
--> $DIR/lint-unknown-lint.rs:9:9
|
LL | #![deny(rust_2018_idiots)]
| ^^^^^^^^^^^^^^^^ help: did you mean: `rust_2018_idioms`
error: aborting due to 3 previous errors