error[E0061]: this function takes 1 parameter but 2 parameters were supplied | |
--> $DIR/issue-4935.rs:5:13 | |
| | |
LL | fn foo(a: usize) {} | |
| ---------------- defined here | |
LL | | |
LL | fn main() { foo(5, 6) } | |
| ^^^^^^^^^ expected 1 parameter | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0061`. |