fn main() { fn f(_ : (i32,i32)) {} let g = unsafe { std::mem::transmute::(f) }; g(42) //~ ERROR constant evaluation error //~^ NOTE tried to call a function with sig fn((i32, i32)) through a function pointer of type fn(i32) }