mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
38d4ac7cea
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
8 lines
178 B
Rust
8 lines
178 B
Rust
#[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
|
|
}
|