clippy 0.0.133

A bunch of helpful lints to avoid common pitfalls in Rust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: useless lint attribute
 --> $DIR/useless_attribute.rs:5:1
  |
5 | #[allow(dead_code)]
  | ^^^^^^^^^^^^^^^^^^^ help: if you just forgot a `!`, use `#![allow(dead_code)]`
  |
note: lint level defined here
 --> $DIR/useless_attribute.rs:3:9
  |
3 | #![deny(useless_attribute)]
  |         ^^^^^^^^^^^^^^^^^

error: aborting due to previous error