clippy 0.0.205

A bunch of helpful lints to avoid common pitfalls in Rust
1
2
3
4
5
6
7
8
9
10
11
12



#[allow(no_effect)]
#[warn(erasing_op)]
fn main() {
    let x: u8 = 0;

    x * 0;
    0 & x;
    0 / x;
}