1 2 3 4 5 6 7 8 9 10 11
// run-pass // pretty-expanded FIXME #23616 fn f<F:FnOnce()>(p: F) { p(); } pub fn main() { let p = || (); f(p); }