fn f() {} fn main() { let x: u8 = unsafe { *std::mem::transmute::(f) //~ ERROR contains a function }; panic!("this should never print: {}", x); }