Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (10 sloc) 190 Bytes
// run-pass
// Issue #922
// pretty-expanded FIXME #23616
fn f2<F>(_thing: F) where F: FnOnce() { }
fn f<F>(thing: F) where F: FnOnce() {
f2(thing);
}
pub fn main() {
f(|| {});
}
You can’t perform that action at this time.