1 2 3 4 5 6
unsafe fn f() { return; } fn main() { let x = f; x(); //~ ERROR call to unsafe function is unsafe }