]> git.lizzy.rs Git - rust.git/blob - src/test/ui/not-enough-arguments.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / not-enough-arguments.stderr
1 error[E0061]: this function takes 4 parameters but 3 parameters 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    |   ^^^^^^^^^^^^ expected 4 parameters
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0061`.