]> git.lizzy.rs Git - rust.git/blob - src/test/ui/not-enough-arguments.stderr
Rollup merge of #66472 - GuillaumeGomez:show-coverage-json, r=ollie27
[rust.git] / src / test / ui / not-enough-arguments.stderr
1 error[E0061]: this function takes 4 arguments but 3 arguments were supplied
2   --> $DIR/not-enough-arguments.rs:10:3
3    |
4 LL | fn foo(a: isize, b: isize, c: isize, d:isize) {
5    | --------------------------------------------- defined here
6 ...
7 LL |   foo(1, 2, 3);
8    |   ^^^ -  -  - supplied 3 arguments
9    |   |
10    |   expected 4 arguments
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0061`.