]> git.lizzy.rs Git - rust.git/blob - src/test/ui/arg-count-mismatch.stderr
Auto merge of #75406 - mati865:mingw-aslr, r=Mark-Simulacrum
[rust.git] / src / test / ui / arg-count-mismatch.stderr
1 error[E0061]: this function takes 1 argument but 0 arguments 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    |                            ^-- supplied 0 arguments
9    |                            |
10    |                            expected 1 argument
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0061`.