// run-pass fn something(f: F) where F: FnOnce() { f(); } pub fn main() { something(|| println!("hi!") ); }