os-rust/src/test/ui/not-enough-arguments.stderr
2018-02-25 12:15:05 +01:00

12 lines
425 B
Text

error[E0061]: this function takes 4 parameters but 3 parameters were supplied
--> $DIR/not-enough-arguments.rs:20:3
|
15 | fn foo(a: isize, b: isize, c: isize, d:isize) {
| --------------------------------------------- defined here
...
20 | foo(1, 2, 3);
| ^^^^^^^^^^^^ expected 4 parameters
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0061"