rust/src/test/ui/not-enough-arguments.stderr

13 lines
425 B
Plaintext
Raw Normal View History

error[E0061]: this function takes 4 parameters but 3 parameters were supplied
--> $DIR/not-enough-arguments.rs:20:3
|
2018-02-22 18:42:32 -06:00
LL | fn foo(a: isize, b: isize, c: isize, d:isize) {
| --------------------------------------------- defined here
...
2018-02-22 18:42:32 -06:00
LL | foo(1, 2, 3);
| ^^^^^^^^^^^^ expected 4 parameters
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"