@@ -97,7 +97,7 @@ note: function defined here
97
97
--> $DIR/extra_arguments.rs:3:4
98
98
|
99
99
LL | fn two_arg_same(_a: i32, _b: i32) {}
100
- | ^^^^^^^^^^^^ ------- -------
100
+ | ^^^^^^^^^^^^
101
101
help: remove the extra argument
102
102
|
103
103
LL - two_arg_same(1, 1, 1);
@@ -114,7 +114,7 @@ note: function defined here
114
114
--> $DIR/extra_arguments.rs:3:4
115
115
|
116
116
LL | fn two_arg_same(_a: i32, _b: i32) {}
117
- | ^^^^^^^^^^^^ ------- -------
117
+ | ^^^^^^^^^^^^
118
118
help: remove the extra argument
119
119
|
120
120
LL - two_arg_same(1, 1, 1.0);
@@ -131,7 +131,7 @@ note: function defined here
131
131
--> $DIR/extra_arguments.rs:4:4
132
132
|
133
133
LL | fn two_arg_diff(_a: i32, _b: &str) {}
134
- | ^^^^^^^^^^^^ ------- --------
134
+ | ^^^^^^^^^^^^
135
135
help: remove the extra argument
136
136
|
137
137
LL - two_arg_diff(1, 1, "");
@@ -148,7 +148,7 @@ note: function defined here
148
148
--> $DIR/extra_arguments.rs:4:4
149
149
|
150
150
LL | fn two_arg_diff(_a: i32, _b: &str) {}
151
- | ^^^^^^^^^^^^ ------- --------
151
+ | ^^^^^^^^^^^^
152
152
help: remove the extra argument
153
153
|
154
154
LL - two_arg_diff(1, "", "");
@@ -167,7 +167,7 @@ note: function defined here
167
167
--> $DIR/extra_arguments.rs:4:4
168
168
|
169
169
LL | fn two_arg_diff(_a: i32, _b: &str) {}
170
- | ^^^^^^^^^^^^ ------- --------
170
+ | ^^^^^^^^^^^^
171
171
help: remove the extra arguments
172
172
|
173
173
LL - two_arg_diff(1, 1, "", "");
@@ -186,7 +186,7 @@ note: function defined here
186
186
--> $DIR/extra_arguments.rs:4:4
187
187
|
188
188
LL | fn two_arg_diff(_a: i32, _b: &str) {}
189
- | ^^^^^^^^^^^^ ------- --------
189
+ | ^^^^^^^^^^^^
190
190
help: remove the extra arguments
191
191
|
192
192
LL - two_arg_diff(1, "", 1, "");
@@ -203,7 +203,7 @@ note: function defined here
203
203
--> $DIR/extra_arguments.rs:3:4
204
204
|
205
205
LL | fn two_arg_same(_a: i32, _b: i32) {}
206
- | ^^^^^^^^^^^^ ------- -------
206
+ | ^^^^^^^^^^^^
207
207
help: remove the extra argument
208
208
|
209
209
LL - two_arg_same(1, 1, "");
@@ -220,7 +220,7 @@ note: function defined here
220
220
--> $DIR/extra_arguments.rs:4:4
221
221
|
222
222
LL | fn two_arg_diff(_a: i32, _b: &str) {}
223
- | ^^^^^^^^^^^^ ------- --------
223
+ | ^^^^^^^^^^^^
224
224
help: remove the extra argument
225
225
|
226
226
LL - two_arg_diff(1, 1, "");
@@ -240,7 +240,7 @@ note: function defined here
240
240
--> $DIR/extra_arguments.rs:3:4
241
241
|
242
242
LL | fn two_arg_same(_a: i32, _b: i32) {}
243
- | ^^^^^^^^^^^^ ------- -------
243
+ | ^^^^^^^^^^^^
244
244
help: remove the extra argument
245
245
|
246
246
LL - 1,
@@ -261,7 +261,7 @@ note: function defined here
261
261
--> $DIR/extra_arguments.rs:4:4
262
262
|
263
263
LL | fn two_arg_diff(_a: i32, _b: &str) {}
264
- | ^^^^^^^^^^^^ ------- --------
264
+ | ^^^^^^^^^^^^
265
265
help: remove the extra argument
266
266
|
267
267
LL - 1,
0 commit comments