]> git.lizzy.rs Git - rust.git/blob - src/test/ui/arg-count-mismatch.stderr
Auto merge of #81507 - weiznich:add_diesel_to_cargo_test, 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 main() { let i: (); i = f(); }
5    |                            ^-- supplied 0 arguments
6    |                            |
7    |                            expected 1 argument
8    |
9 note: function defined here
10   --> $DIR/arg-count-mismatch.rs:3:4
11    |
12 LL | fn f(x: isize) { }
13    |    ^ --------
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0061`.