mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
11 lines
191 B
Rust
11 lines
191 B
Rust
//@ 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| {});
|
|
}
|