11error[E0061]: this function takes 0 arguments but 2 arguments were supplied
2- --> $DIR/issue-109425.rs:8 :5
2+ --> $DIR/issue-109425.rs:10 :5
33 |
44LL | f(0, 1,); // f()
55 | ^ - - unexpected argument of type `{integer}`
66 | |
77 | unexpected argument of type `{integer}`
88 |
99note: function defined here
10- --> $DIR/issue-109425.rs:1 :4
10+ --> $DIR/issue-109425.rs:3 :4
1111 |
1212LL | fn f() {}
1313 | ^
1414help: remove the extra arguments
1515 |
1616LL - f(0, 1,); // f()
17- LL + f(, ); // f()
17+ LL + f(); // f()
1818 |
1919
2020error[E0061]: this function takes 1 argument but 3 arguments were supplied
21- --> $DIR/issue-109425.rs:10 :5
21+ --> $DIR/issue-109425.rs:12 :5
2222 |
2323LL | i(0, 1, 2,); // i(0,)
2424 | ^ - - unexpected argument of type `{integer}`
2525 | |
2626 | unexpected argument of type `{integer}`
2727 |
2828note: function defined here
29- --> $DIR/issue-109425.rs:2 :4
29+ --> $DIR/issue-109425.rs:4 :4
3030 |
3131LL | fn i(_: u32) {}
3232 | ^ ------
@@ -37,15 +37,15 @@ LL + i(0,); // i(0,)
3737 |
3838
3939error[E0061]: this function takes 1 argument but 3 arguments were supplied
40- --> $DIR/issue-109425.rs:12 :5
40+ --> $DIR/issue-109425.rs:14 :5
4141 |
4242LL | i(0, 1, 2); // i(0)
4343 | ^ - - unexpected argument of type `{integer}`
4444 | |
4545 | unexpected argument of type `{integer}`
4646 |
4747note: function defined here
48- --> $DIR/issue-109425.rs:2 :4
48+ --> $DIR/issue-109425.rs:4 :4
4949 |
5050LL | fn i(_: u32) {}
5151 | ^ ------
@@ -56,15 +56,15 @@ LL + i(0); // i(0)
5656 |
5757
5858error[E0061]: this function takes 2 arguments but 4 arguments were supplied
59- --> $DIR/issue-109425.rs:14 :5
59+ --> $DIR/issue-109425.rs:16 :5
6060 |
6161LL | is(0, 1, 2, ""); // is(0, "")
6262 | ^^ - - unexpected argument of type `{integer}`
6363 | |
6464 | unexpected argument of type `{integer}`
6565 |
6666note: function defined here
67- --> $DIR/issue-109425.rs:3 :4
67+ --> $DIR/issue-109425.rs:5 :4
6868 |
6969LL | fn is(_: u32, _: &str) {}
7070 | ^^ ------ -------
@@ -75,22 +75,22 @@ LL + is(0, ""); // is(0, "")
7575 |
7676
7777error[E0061]: this function takes 1 argument but 3 arguments were supplied
78- --> $DIR/issue-109425.rs:16 :5
78+ --> $DIR/issue-109425.rs:18 :5
7979 |
8080LL | s(0, 1, ""); // s("")
8181 | ^ - - unexpected argument of type `{integer}`
8282 | |
8383 | unexpected argument of type `{integer}`
8484 |
8585note: function defined here
86- --> $DIR/issue-109425.rs:4 :4
86+ --> $DIR/issue-109425.rs:6 :4
8787 |
8888LL | fn s(_: &str) {}
8989 | ^ -------
9090help: remove the extra arguments
9191 |
9292LL - s(0, 1, ""); // s("")
93- LL + s(, ""); // s("")
93+ LL + s(""); // s("")
9494 |
9595
9696error: aborting due to 5 previous errors
0 commit comments