@@ -44,7 +44,7 @@ note: function defined here
44
44
--> $DIR/extra_arguments.rs:2:4
45
45
|
46
46
LL | fn one_arg<T>(_a: T) {}
47
- | ^^^^^^^ -----
47
+ | ^^^^^^^
48
48
help: remove the extra argument
49
49
|
50
50
LL - one_arg(1, 1);
@@ -61,7 +61,7 @@ note: function defined here
61
61
--> $DIR/extra_arguments.rs:2:4
62
62
|
63
63
LL | fn one_arg<T>(_a: T) {}
64
- | ^^^^^^^ -----
64
+ | ^^^^^^^
65
65
help: remove the extra argument
66
66
|
67
67
LL - one_arg(1, "");
@@ -80,7 +80,7 @@ note: function defined here
80
80
--> $DIR/extra_arguments.rs:2:4
81
81
|
82
82
LL | fn one_arg<T>(_a: T) {}
83
- | ^^^^^^^ -----
83
+ | ^^^^^^^
84
84
help: remove the extra arguments
85
85
|
86
86
LL - one_arg(1, "", 1.0);
@@ -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,
@@ -335,7 +335,7 @@ note: function defined here
335
335
--> $DIR/extra_arguments.rs:2:4
336
336
|
337
337
LL | fn one_arg<T>(_a: T) {}
338
- | ^^^^^^^ -----
338
+ | ^^^^^^^
339
339
help: remove the extra argument
340
340
|
341
341
LL - one_arg(1, panic!());
@@ -352,7 +352,7 @@ note: function defined here
352
352
--> $DIR/extra_arguments.rs:2:4
353
353
|
354
354
LL | fn one_arg<T>(_a: T) {}
355
- | ^^^^^^^ -----
355
+ | ^^^^^^^
356
356
help: remove the extra argument
357
357
|
358
358
LL - one_arg(panic!(), 1);
@@ -369,7 +369,7 @@ note: function defined here
369
369
--> $DIR/extra_arguments.rs:2:4
370
370
|
371
371
LL | fn one_arg<T>(_a: T) {}
372
- | ^^^^^^^ -----
372
+ | ^^^^^^^
373
373
help: remove the extra argument
374
374
|
375
375
LL - one_arg(stringify!($e), 1);
@@ -386,7 +386,7 @@ note: function defined here
386
386
--> $DIR/extra_arguments.rs:2:4
387
387
|
388
388
LL | fn one_arg<T>(_a: T) {}
389
- | ^^^^^^^ -----
389
+ | ^^^^^^^
390
390
help: remove the extra argument
391
391
|
392
392
LL - one_arg(for _ in 1.. {}, 1);
0 commit comments