]> git.lizzy.rs Git - rust.git/blob - src/test/ui/arg-count-mismatch.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / arg-count-mismatch.stderr
1 error[E0061]: this function takes 1 parameter but 0 parameters were supplied
2   --> $DIR/arg-count-mismatch.rs:5:28
3    |
4 LL | fn f(x: isize) { }
5    | -------------- defined here
6 LL | 
7 LL | fn main() { let i: (); i = f(); }
8    |                            ^^^ expected 1 parameter
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0061`.