rust/tests/ui/lint_pass.stderr

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