blob: 25efd54443ae13c729050ce8147b13e5621cce9d [file] [log] [blame]
error[E0061]: this function takes 1 parameter but 2 parameters were supplied
--> $DIR/issue-4935.rs:15:13
|
LL | fn foo(a: usize) {}
| ---------------- defined here
LL | //~^ defined here
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`.