mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-24 20:13:24 +00:00
9ec8888b91
actuall add files add better example and change pedantic to restriction
7 lines
115 B
Rust
7 lines
115 B
Rust
#[warn(clippy::as_conversions)]
|
|
|
|
fn main() {
|
|
let i = 0u32 as u64;
|
|
|
|
let j = &i as *const u64 as *mut u64;
|
|
}
|