2018-08-08 07:28:26 -05:00
|
|
|
error[E0061]: this function takes 1 parameter but 0 parameters were supplied
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/arg-count-mismatch.rs:5:28
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | fn f(x: isize) { }
|
|
|
|
| -------------- defined here
|
|
|
|
LL |
|
|
|
|
LL | fn main() { let i: (); i = f(); }
|
|
|
|
| ^^^ expected 1 parameter
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0061`.
|