6 lines
138 B
Rust
6 lines
138 B
Rust
use std::mem;
|
|
|
|
fn main() {
|
|
let _x: &i32 = unsafe { mem::transmute(16usize) }; //~ ERROR dangling reference (not entirely in bounds)
|
|
}
|