clippy 0.0.149

A bunch of helpful lints to avoid common pitfalls in Rust
1
2
3
4
5
6
7
8
9
10
error: any number modulo 1 will be 0
 --> $DIR/modulo_one.rs:7:5
  |
7 |     10 % 1;
  |     ^^^^^^
  |
  = note: `-D modulo-one` implied by `-D warnings`

error: aborting due to previous error