mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-28 07:30:57 +00:00
15 lines
394 B
Text
15 lines
394 B
Text
|
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
|
||
|
|