fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0061]: this function takes 3 arguments but 2 arguments were supplied 2 --> $DIR/issue-96638.rs:8:5 3 | 4LL | f(&x, ""); 5 | ^ -- -- expected `usize`, found `&str` 6 | | 7 | an argument of type `usize` is missing 8 | 9note: function defined here 10 --> $DIR/issue-96638.rs:1:4 11 | 12LL | fn f(_: usize, _: &usize, _: usize) {} 13 | ^ -------- --------- -------- 14help: provide the argument 15 | 16LL | f(/* usize */, &x, /* usize */); 17 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 19error: aborting due to previous error 20 21For more information about this error, try `rustc --explain E0061`.