clippy 0.0.157

A bunch of helpful lints to avoid common pitfalls in Rust
1
2
3
4
5
6
7
8
9
10
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: `-D lint-without-lint-pass` implied by `-D warnings`

error: aborting due to previous error