@@ -97,7 +97,7 @@ note: function defined here
9797 --> $DIR/extra_arguments.rs:3:4
9898 |
9999LL | fn two_arg_same(_a: i32, _b: i32) {}
100- | ^^^^^^^^^^^^ ------- -------
100+ | ^^^^^^^^^^^^
101101help: remove the extra argument
102102 |
103103LL - two_arg_same(1, 1, 1);
@@ -114,7 +114,7 @@ note: function defined here
114114 --> $DIR/extra_arguments.rs:3:4
115115 |
116116LL | fn two_arg_same(_a: i32, _b: i32) {}
117- | ^^^^^^^^^^^^ ------- -------
117+ | ^^^^^^^^^^^^
118118help: remove the extra argument
119119 |
120120LL - two_arg_same(1, 1, 1.0);
@@ -131,7 +131,7 @@ note: function defined here
131131 --> $DIR/extra_arguments.rs:4:4
132132 |
133133LL | fn two_arg_diff(_a: i32, _b: &str) {}
134- | ^^^^^^^^^^^^ ------- --------
134+ | ^^^^^^^^^^^^
135135help: remove the extra argument
136136 |
137137LL - two_arg_diff(1, 1, "");
@@ -148,7 +148,7 @@ note: function defined here
148148 --> $DIR/extra_arguments.rs:4:4
149149 |
150150LL | fn two_arg_diff(_a: i32, _b: &str) {}
151- | ^^^^^^^^^^^^ ------- --------
151+ | ^^^^^^^^^^^^
152152help: remove the extra argument
153153 |
154154LL - two_arg_diff(1, "", "");
@@ -167,7 +167,7 @@ note: function defined here
167167 --> $DIR/extra_arguments.rs:4:4
168168 |
169169LL | fn two_arg_diff(_a: i32, _b: &str) {}
170- | ^^^^^^^^^^^^ ------- --------
170+ | ^^^^^^^^^^^^
171171help: remove the extra arguments
172172 |
173173LL - two_arg_diff(1, 1, "", "");
@@ -186,7 +186,7 @@ note: function defined here
186186 --> $DIR/extra_arguments.rs:4:4
187187 |
188188LL | fn two_arg_diff(_a: i32, _b: &str) {}
189- | ^^^^^^^^^^^^ ------- --------
189+ | ^^^^^^^^^^^^
190190help: remove the extra arguments
191191 |
192192LL - two_arg_diff(1, "", 1, "");
@@ -203,7 +203,7 @@ note: function defined here
203203 --> $DIR/extra_arguments.rs:3:4
204204 |
205205LL | fn two_arg_same(_a: i32, _b: i32) {}
206- | ^^^^^^^^^^^^ ------- -------
206+ | ^^^^^^^^^^^^
207207help: remove the extra argument
208208 |
209209LL - two_arg_same(1, 1, "");
@@ -220,7 +220,7 @@ note: function defined here
220220 --> $DIR/extra_arguments.rs:4:4
221221 |
222222LL | fn two_arg_diff(_a: i32, _b: &str) {}
223- | ^^^^^^^^^^^^ ------- --------
223+ | ^^^^^^^^^^^^
224224help: remove the extra argument
225225 |
226226LL - two_arg_diff(1, 1, "");
@@ -240,7 +240,7 @@ note: function defined here
240240 --> $DIR/extra_arguments.rs:3:4
241241 |
242242LL | fn two_arg_same(_a: i32, _b: i32) {}
243- | ^^^^^^^^^^^^ ------- -------
243+ | ^^^^^^^^^^^^
244244help: remove the extra argument
245245 |
246246LL - 1,
@@ -261,7 +261,7 @@ note: function defined here
261261 --> $DIR/extra_arguments.rs:4:4
262262 |
263263LL | fn two_arg_diff(_a: i32, _b: &str) {}
264- | ^^^^^^^^^^^^ ------- --------
264+ | ^^^^^^^^^^^^
265265help: remove the extra argument
266266 |
267267LL - 1,
0 commit comments