Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 227 Bytes
// build-pass (FIXME(62277): could be check-pass?)
fn test<F: Fn(&u64, &u64)>(f: F) {}
fn main() {
test(|x, y | {});
test(|x:&u64, y:&u64| {});
test(|x:&u64, y | {});
test(|x, y:&u64| {});
}
You can’t perform that action at this time.