fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0061]: this function takes 1 argument but 2 arguments were supplied 2 --> $DIR/issue-4935.rs:5:13 3 | 4LL | fn main() { foo(5, 6) } 5 | ^^^ --- 6 | | | 7 | | unexpected argument of type `{integer}` 8 | help: remove the extra argument 9 | 10note: function defined here 11 --> $DIR/issue-4935.rs:3:4 12 | 13LL | fn foo(a: usize) {} 14 | ^^^ -------- 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0061`.