summaryrefslogtreecommitdiffstats
path: root/src/test/ui/argument-suggestions/issue-97197.rs
blob: 6f9f4293e49643d0ce312a24d805e3d3e4cb99fd (plain)
1
2
3
4
5
6
fn main() {
    g((), ());
    //~^ ERROR this function takes 6 arguments but 2 arguments were supplied
}

pub fn g(a1: (), a2: bool, a3: bool, a4: bool, a5: bool, a6: ()) -> () {}