]> git.lizzy.rs Git - rust.git/blob - src/test/ui/argument-suggestions/issue-97197.rs
Rollup merge of #95376 - WaffleLapkin:drain_keep_rest, r=dtolnay
[rust.git] / src / test / ui / argument-suggestions / issue-97197.rs
1 fn main() {
2     g((), ());
3     //~^ ERROR this function takes 6 arguments but 2 arguments were supplied
4 }
5
6 pub fn g(a1: (), a2: bool, a3: bool, a4: bool, a5: bool, a6: ()) -> () {}