fn main() { fn f(_: *const u8) {} let g = unsafe { std::mem::transmute::(f) }; g(&42 as *const _); }