1 2 3 4 5 6
use std::mem; fn main() { let x: &'static u32 = unsafe { &mem::transmute(3.0f32) }; //~^ ERROR temporary value dropped while borrowed }