fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0061]: this function takes 2 arguments but 1 argument was supplied 2 --> $DIR/E0061.rs:6:5 3 | 4LL | f(0); 5 | ^--- an argument of type `&str` is missing 6 | 7note: function defined here 8 --> $DIR/E0061.rs:1:4 9 | 10LL | fn f(a: u16, b: &str) {} 11 | ^ ------ ------- 12help: provide the argument 13 | 14LL | f(0, /* &str */); 15 | ~~~~~~~~~~~~~~~ 16 17error[E0061]: this function takes 1 argument but 0 arguments were supplied 18 --> $DIR/E0061.rs:9:5 19 | 20LL | f2(); 21 | ^^-- an argument of type `u16` is missing 22 | 23note: function defined here 24 --> $DIR/E0061.rs:3:4 25 | 26LL | fn f2(a: u16) {} 27 | ^^ ------ 28help: provide the argument 29 | 30LL | f2(/* u16 */); 31 | ~~~~~~~~~~~ 32 33error: aborting due to 2 previous errors 34 35For more information about this error, try `rustc --explain E0061`.