@@ -12,7 +12,7 @@ LL | fn empty() {}
12
12
help: remove the extra argument
13
13
|
14
14
LL | empty();
15
- | ~~~~~ ~~
15
+ | ~~
16
16
17
17
error[E0061]: this function takes 1 argument but 2 arguments were supplied
18
18
--> $DIR/extra_arguments.rs:9:3
@@ -28,7 +28,7 @@ LL | fn one_arg(_a: i32) {}
28
28
help: remove the extra argument
29
29
|
30
30
LL | one_arg(1);
31
- | ~~~~~~~ ~~~
31
+ | ~~~
32
32
33
33
error[E0061]: this function takes 1 argument but 2 arguments were supplied
34
34
--> $DIR/extra_arguments.rs:10:3
@@ -44,7 +44,7 @@ LL | fn one_arg(_a: i32) {}
44
44
help: remove the extra argument
45
45
|
46
46
LL | one_arg(1);
47
- | ~~~~~~~ ~~~
47
+ | ~~~
48
48
49
49
error[E0061]: this function takes 1 argument but 3 arguments were supplied
50
50
--> $DIR/extra_arguments.rs:11:3
@@ -62,7 +62,7 @@ LL | fn one_arg(_a: i32) {}
62
62
help: remove the extra arguments
63
63
|
64
64
LL | one_arg(1);
65
- | ~~~~~~~ ~~~
65
+ | ~~~
66
66
67
67
error[E0061]: this function takes 2 arguments but 3 arguments were supplied
68
68
--> $DIR/extra_arguments.rs:13:3
@@ -78,7 +78,7 @@ LL | fn two_arg_same(_a: i32, _b: i32) {}
78
78
help: remove the extra argument
79
79
|
80
80
LL | two_arg_same(1, 1);
81
- | ~~~~~~~~~~~~ ~~~~~~
81
+ | ~~~~~~
82
82
83
83
error[E0061]: this function takes 2 arguments but 3 arguments were supplied
84
84
--> $DIR/extra_arguments.rs:14:3
@@ -94,7 +94,7 @@ LL | fn two_arg_same(_a: i32, _b: i32) {}
94
94
help: remove the extra argument
95
95
|
96
96
LL | two_arg_same(1, 1);
97
- | ~~~~~~~~~~~~ ~~~~~~
97
+ | ~~~~~~
98
98
99
99
error[E0061]: this function takes 2 arguments but 3 arguments were supplied
100
100
--> $DIR/extra_arguments.rs:16:3
@@ -110,7 +110,7 @@ LL | fn two_arg_diff(_a: i32, _b: &str) {}
110
110
help: remove the extra argument
111
111
|
112
112
LL | two_arg_diff(1, "");
113
- | ~~~~~~~~~~~~ ~~~~~~~
113
+ | ~~~~~~~
114
114
115
115
error[E0061]: this function takes 2 arguments but 3 arguments were supplied
116
116
--> $DIR/extra_arguments.rs:17:3
@@ -126,7 +126,7 @@ LL | fn two_arg_diff(_a: i32, _b: &str) {}
126
126
help: remove the extra argument
127
127
|
128
128
LL | two_arg_diff(1, "");
129
- | ~~~~~~~~~~~~ ~~~~~~~
129
+ | ~~~~~~~
130
130
131
131
error[E0061]: this function takes 2 arguments but 4 arguments were supplied
132
132
--> $DIR/extra_arguments.rs:18:3
@@ -144,7 +144,7 @@ LL | fn two_arg_diff(_a: i32, _b: &str) {}
144
144
help: remove the extra arguments
145
145
|
146
146
LL | two_arg_diff(1, "");
147
- | ~~~~~~~~~~~~ ~~~~~~~
147
+ | ~~~~~~~
148
148
149
149
error[E0061]: this function takes 2 arguments but 4 arguments were supplied
150
150
--> $DIR/extra_arguments.rs:19:3
@@ -162,7 +162,7 @@ LL | fn two_arg_diff(_a: i32, _b: &str) {}
162
162
help: remove the extra arguments
163
163
|
164
164
LL | two_arg_diff(1, "");
165
- | ~~~~~~~~~~~~ ~~~~~~~
165
+ | ~~~~~~~
166
166
167
167
error[E0061]: this function takes 2 arguments but 3 arguments were supplied
168
168
--> $DIR/extra_arguments.rs:22:3
@@ -178,7 +178,7 @@ LL | fn two_arg_same(_a: i32, _b: i32) {}
178
178
help: remove the extra argument
179
179
|
180
180
LL | two_arg_same(1, 1);
181
- | ~~~~~~~~~~~~ ~~~~~~
181
+ | ~~~~~~
182
182
183
183
error[E0061]: this function takes 2 arguments but 3 arguments were supplied
184
184
--> $DIR/extra_arguments.rs:23:3
@@ -194,7 +194,7 @@ LL | fn two_arg_diff(_a: i32, _b: &str) {}
194
194
help: remove the extra argument
195
195
|
196
196
LL | two_arg_diff(1, "");
197
- | ~~~~~~~~~~~~ ~~~~~~~
197
+ | ~~~~~~~
198
198
199
199
error[E0061]: this function takes 2 arguments but 3 arguments were supplied
200
200
--> $DIR/extra_arguments.rs:24:3
@@ -213,7 +213,7 @@ LL | fn two_arg_same(_a: i32, _b: i32) {}
213
213
help: remove the extra argument
214
214
|
215
215
LL | two_arg_same(1, 1);
216
- | ~~~~~~~~~~~~ ~~~~~~
216
+ | ~~~~~~
217
217
218
218
error[E0061]: this function takes 2 arguments but 3 arguments were supplied
219
219
--> $DIR/extra_arguments.rs:30:3
@@ -232,7 +232,7 @@ LL | fn two_arg_diff(_a: i32, _b: &str) {}
232
232
help: remove the extra argument
233
233
|
234
234
LL | two_arg_diff(1, "");
235
- | ~~~~~~~~~~~~ ~~~~~~~
235
+ | ~~~~~~~
236
236
237
237
error: aborting due to 14 previous errors
238
238
0 commit comments