Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 129 Bytes
// run-pass
// pretty-expanded FIXME #23616
fn f<F:FnOnce()>(p: F) {
p();
}
pub fn main() {
let p = || ();
f(p);
}
You can’t perform that action at this time.