2 #![allow(unused_parens)]
3 // pretty-expanded FIXME #23616
5 fn f<T, F>(g: F) -> T where F: FnOnce() -> T { g() }
8 let _x = f( | | { 10 });
9 // used to be: cannot determine a type for this expression
14 let _: () = f(| | { });
15 // empty block with no type info should compile too