blob: a99581fdca18f81398beccd14912971e6fa0036c [file] [log] [blame]
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`.