1 // Check that the only error msg we report is the
2 // mismatch between the # of params, and not other
5 fn foo(a: isize, b: isize, c: isize, d:isize) {
9 // Check that all arguments are shown in the error message, even if they're across multiple lines.
28 //~^ ERROR this function takes 4 arguments but 3
30 //~^ ERROR this function takes 6 arguments but 3