mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-15 10:07:30 +00:00
8 lines
115 B
Rust
8 lines
115 B
Rust
|
#[warn(clippy::as_conversions)]
|
||
|
|
||
|
fn main() {
|
||
|
let i = 0u32 as u64;
|
||
|
|
||
|
let j = &i as *const u64 as *mut u64;
|
||
|
}
|