mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 04:04:06 +00:00
15 lines
394 B
Plaintext
15 lines
394 B
Plaintext
error: the lint `MISSING_LINT` is not added to any `LintPass`
|
|
--> $DIR/lint_pass.rs:12:1
|
|
|
|
|
12 | declare_lint! { MISSING_LINT, Warn, "missing lint" }
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: lint level defined here
|
|
--> $DIR/lint_pass.rs:5:9
|
|
|
|
|
5 | #![deny(lint_without_lint_pass)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|