mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-16 21:47:04 +00:00
6 lines
138 B
Rust
6 lines
138 B
Rust
fn main() {
|
|
let f = |_: (), f: fn()| f;
|
|
let _f = f(main);
|
|
//~^ ERROR function takes 2 arguments but 1 argument was supplied
|
|
}
|