clippy 0.0.201

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



#[allow(unused_variables)]
fn main() {
    let x = 0 as *const usize;
    let y = 0 as *mut f64;

    let z = 0;
    let z = z as *const usize; // this is currently not caught
}