blob: a99581fdca18f81398beccd14912971e6fa0036c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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`.
|