mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
7 lines
176 B
Rust
7 lines
176 B
Rust
fn main() {
|
|
g((), ());
|
|
//~^ ERROR function takes 6 arguments but 2 arguments were supplied
|
|
}
|
|
|
|
pub fn g(a1: (), a2: bool, a3: bool, a4: bool, a5: bool, a6: ()) -> () {}
|