2017-12-10 13:47:55 -06:00
|
|
|
error[E0061]: this function takes 4 parameters but 3 parameters were supplied
|
2017-12-12 14:46:33 -06:00
|
|
|
--> $DIR/not-enough-arguments.rs:20:3
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn foo(a: isize, b: isize, c: isize, d:isize) {
|
2017-12-12 14:46:33 -06:00
|
|
|
| --------------------------------------------- defined here
|
2017-12-10 13:47:55 -06:00
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | foo(1, 2, 3);
|
2017-12-12 14:46:33 -06:00
|
|
|
| ^^^^^^^^^^^^ expected 4 parameters
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0061"
|