fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0061]: this function takes 1 argument but 0 arguments were supplied 2 --> $DIR/missing_arguments.rs:10:3 3 | 4LL | one_arg(); 5 | ^^^^^^^-- an argument of type `i32` is missing 6 | 7note: function defined here 8 --> $DIR/missing_arguments.rs:1:4 9 | 10LL | fn one_arg(_a: i32) {} 11 | ^^^^^^^ ------- 12help: provide the argument 13 | 14LL | one_arg(/* i32 */); 15 | ~~~~~~~~~~~ 16 17error[E0061]: this function takes 2 arguments but 0 arguments were supplied 18 --> $DIR/missing_arguments.rs:14:3 19 | 20LL | two_same( ); 21 | ^^^^^^^^----------------- two arguments of type `i32` and `i32` are missing 22 | 23note: function defined here 24 --> $DIR/missing_arguments.rs:2:4 25 | 26LL | fn two_same(_a: i32, _b: i32) {} 27 | ^^^^^^^^ ------- ------- 28help: provide the arguments 29 | 30LL | two_same(/* i32 */, /* i32 */); 31 | ~~~~~~~~~~~~~~~~~~~~~~ 32 33error[E0061]: this function takes 2 arguments but 1 argument was supplied 34 --> $DIR/missing_arguments.rs:15:3 35 | 36LL | two_same( 1 ); 37 | ^^^^^^^^----------------- an argument of type `i32` is missing 38 | 39note: function defined here 40 --> $DIR/missing_arguments.rs:2:4 41 | 42LL | fn two_same(_a: i32, _b: i32) {} 43 | ^^^^^^^^ ------- ------- 44help: provide the argument 45 | 46LL | two_same(1, /* i32 */); 47 | ~~~~~~~~~~~~~~ 48 49error[E0061]: this function takes 2 arguments but 0 arguments were supplied 50 --> $DIR/missing_arguments.rs:16:3 51 | 52LL | two_diff( ); 53 | ^^^^^^^^----------------- two arguments of type `i32` and `f32` are missing 54 | 55note: function defined here 56 --> $DIR/missing_arguments.rs:3:4 57 | 58LL | fn two_diff(_a: i32, _b: f32) {} 59 | ^^^^^^^^ ------- ------- 60help: provide the arguments 61 | 62LL | two_diff(/* i32 */, /* f32 */); 63 | ~~~~~~~~~~~~~~~~~~~~~~ 64 65error[E0061]: this function takes 2 arguments but 1 argument was supplied 66 --> $DIR/missing_arguments.rs:17:3 67 | 68LL | two_diff( 1 ); 69 | ^^^^^^^^----------------- an argument of type `f32` is missing 70 | 71note: function defined here 72 --> $DIR/missing_arguments.rs:3:4 73 | 74LL | fn two_diff(_a: i32, _b: f32) {} 75 | ^^^^^^^^ ------- ------- 76help: provide the argument 77 | 78LL | two_diff(1, /* f32 */); 79 | ~~~~~~~~~~~~~~ 80 81error[E0061]: this function takes 2 arguments but 1 argument was supplied 82 --> $DIR/missing_arguments.rs:18:3 83 | 84LL | two_diff( 1.0 ); 85 | ^^^^^^^^ --- an argument of type `i32` is missing 86 | 87note: function defined here 88 --> $DIR/missing_arguments.rs:3:4 89 | 90LL | fn two_diff(_a: i32, _b: f32) {} 91 | ^^^^^^^^ ------- ------- 92help: provide the argument 93 | 94LL | two_diff(/* i32 */, 1.0); 95 | ~~~~~~~~~~~~~~~~ 96 97error[E0061]: this function takes 3 arguments but 0 arguments were supplied 98 --> $DIR/missing_arguments.rs:21:3 99 | 100LL | three_same( ); 101 | ^^^^^^^^^^------------------------- three arguments of type `i32`, `i32`, and `i32` are missing 102 | 103note: function defined here 104 --> $DIR/missing_arguments.rs:4:4 105 | 106LL | fn three_same(_a: i32, _b: i32, _c: i32) {} 107 | ^^^^^^^^^^ ------- ------- ------- 108help: provide the arguments 109 | 110LL | three_same(/* i32 */, /* i32 */, /* i32 */); 111 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 113error[E0061]: this function takes 3 arguments but 1 argument was supplied 114 --> $DIR/missing_arguments.rs:22:3 115 | 116LL | three_same( 1 ); 117 | ^^^^^^^^^^------------------------- two arguments of type `i32` and `i32` are missing 118 | 119note: function defined here 120 --> $DIR/missing_arguments.rs:4:4 121 | 122LL | fn three_same(_a: i32, _b: i32, _c: i32) {} 123 | ^^^^^^^^^^ ------- ------- ------- 124help: provide the arguments 125 | 126LL | three_same(1, /* i32 */, /* i32 */); 127 | ~~~~~~~~~~~~~~~~~~~~~~~~~ 128 129error[E0061]: this function takes 3 arguments but 2 arguments were supplied 130 --> $DIR/missing_arguments.rs:23:3 131 | 132LL | three_same( 1, 1 ); 133 | ^^^^^^^^^^------------------------- an argument of type `i32` is missing 134 | 135note: function defined here 136 --> $DIR/missing_arguments.rs:4:4 137 | 138LL | fn three_same(_a: i32, _b: i32, _c: i32) {} 139 | ^^^^^^^^^^ ------- ------- ------- 140help: provide the argument 141 | 142LL | three_same(1, 1, /* i32 */); 143 | ~~~~~~~~~~~~~~~~~ 144 145error[E0061]: this function takes 3 arguments but 2 arguments were supplied 146 --> $DIR/missing_arguments.rs:26:3 147 | 148LL | three_diff( 1.0, "" ); 149 | ^^^^^^^^^^ --- an argument of type `i32` is missing 150 | 151note: function defined here 152 --> $DIR/missing_arguments.rs:5:4 153 | 154LL | fn three_diff(_a: i32, _b: f32, _c: &str) {} 155 | ^^^^^^^^^^ ------- ------- -------- 156help: provide the argument 157 | 158LL | three_diff(/* i32 */, 1.0, ""); 159 | ~~~~~~~~~~~~~~~~~~~~ 160 161error[E0061]: this function takes 3 arguments but 2 arguments were supplied 162 --> $DIR/missing_arguments.rs:27:3 163 | 164LL | three_diff( 1, "" ); 165 | ^^^^^^^^^^ -- an argument of type `f32` is missing 166 | 167note: function defined here 168 --> $DIR/missing_arguments.rs:5:4 169 | 170LL | fn three_diff(_a: i32, _b: f32, _c: &str) {} 171 | ^^^^^^^^^^ ------- ------- -------- 172help: provide the argument 173 | 174LL | three_diff(1, /* f32 */, ""); 175 | ~~~~~~~~~~~~~~~~~~ 176 177error[E0061]: this function takes 3 arguments but 2 arguments were supplied 178 --> $DIR/missing_arguments.rs:28:3 179 | 180LL | three_diff( 1, 1.0 ); 181 | ^^^^^^^^^^------------------------- an argument of type `&str` is missing 182 | 183note: function defined here 184 --> $DIR/missing_arguments.rs:5:4 185 | 186LL | fn three_diff(_a: i32, _b: f32, _c: &str) {} 187 | ^^^^^^^^^^ ------- ------- -------- 188help: provide the argument 189 | 190LL | three_diff(1, 1.0, /* &str */); 191 | ~~~~~~~~~~~~~~~~~~~~ 192 193error[E0061]: this function takes 3 arguments but 1 argument was supplied 194 --> $DIR/missing_arguments.rs:29:3 195 | 196LL | three_diff( "" ); 197 | ^^^^^^^^^^------------------------- two arguments of type `i32` and `f32` are missing 198 | 199note: function defined here 200 --> $DIR/missing_arguments.rs:5:4 201 | 202LL | fn three_diff(_a: i32, _b: f32, _c: &str) {} 203 | ^^^^^^^^^^ ------- ------- -------- 204help: provide the arguments 205 | 206LL | three_diff(/* i32 */, /* f32 */, ""); 207 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 208 209error[E0061]: this function takes 3 arguments but 1 argument was supplied 210 --> $DIR/missing_arguments.rs:30:3 211 | 212LL | three_diff( 1.0 ); 213 | ^^^^^^^^^^------------------------- 214 | | | 215 | | an argument of type `i32` is missing 216 | an argument of type `&str` is missing 217 | 218note: function defined here 219 --> $DIR/missing_arguments.rs:5:4 220 | 221LL | fn three_diff(_a: i32, _b: f32, _c: &str) {} 222 | ^^^^^^^^^^ ------- ------- -------- 223help: provide the arguments 224 | 225LL | three_diff(/* i32 */, 1.0, /* &str */); 226 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 227 228error[E0061]: this function takes 3 arguments but 1 argument was supplied 229 --> $DIR/missing_arguments.rs:31:3 230 | 231LL | three_diff( 1 ); 232 | ^^^^^^^^^^------------------------- two arguments of type `f32` and `&str` are missing 233 | 234note: function defined here 235 --> $DIR/missing_arguments.rs:5:4 236 | 237LL | fn three_diff(_a: i32, _b: f32, _c: &str) {} 238 | ^^^^^^^^^^ ------- ------- -------- 239help: provide the arguments 240 | 241LL | three_diff(1, /* f32 */, /* &str */); 242 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 243 244error[E0061]: this function takes 4 arguments but 0 arguments were supplied 245 --> $DIR/missing_arguments.rs:34:3 246 | 247LL | four_repeated( ); 248 | ^^^^^^^^^^^^^--------------------------------- multiple arguments are missing 249 | 250note: function defined here 251 --> $DIR/missing_arguments.rs:6:4 252 | 253LL | fn four_repeated(_a: i32, _b: f32, _c: f32, _d: &str) {} 254 | ^^^^^^^^^^^^^ ------- ------- ------- -------- 255help: provide the arguments 256 | 257LL | four_repeated(/* i32 */, /* f32 */, /* f32 */, /* &str */); 258 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 260error[E0061]: this function takes 4 arguments but 2 arguments were supplied 261 --> $DIR/missing_arguments.rs:35:3 262 | 263LL | four_repeated( 1, "" ); 264 | ^^^^^^^^^^^^^--------------------------------- two arguments of type `f32` and `f32` are missing 265 | 266note: function defined here 267 --> $DIR/missing_arguments.rs:6:4 268 | 269LL | fn four_repeated(_a: i32, _b: f32, _c: f32, _d: &str) {} 270 | ^^^^^^^^^^^^^ ------- ------- ------- -------- 271help: provide the arguments 272 | 273LL | four_repeated(1, /* f32 */, /* f32 */, ""); 274 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 276error[E0061]: this function takes 5 arguments but 0 arguments were supplied 277 --> $DIR/missing_arguments.rs:38:3 278 | 279LL | complex( ); 280 | ^^^^^^^--------------------------------- multiple arguments are missing 281 | 282note: function defined here 283 --> $DIR/missing_arguments.rs:7:4 284 | 285LL | fn complex(_a: i32, _b: f32, _c: i32, _d: f32, _e: &str) {} 286 | ^^^^^^^ ------- ------- ------- ------- -------- 287help: provide the arguments 288 | 289LL | complex(/* i32 */, /* f32 */, /* i32 */, /* f32 */, /* &str */); 290 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 292error[E0061]: this function takes 5 arguments but 2 arguments were supplied 293 --> $DIR/missing_arguments.rs:39:3 294 | 295LL | complex( 1, "" ); 296 | ^^^^^^^--------------------------------- three arguments of type `f32`, `i32`, and `f32` are missing 297 | 298note: function defined here 299 --> $DIR/missing_arguments.rs:7:4 300 | 301LL | fn complex(_a: i32, _b: f32, _c: i32, _d: f32, _e: &str) {} 302 | ^^^^^^^ ------- ------- ------- ------- -------- 303help: provide the arguments 304 | 305LL | complex(1, /* f32 */, /* i32 */, /* f32 */, ""); 306 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 308error: aborting due to 19 previous errors 309 310For more information about this error, try `rustc --explain E0061`.