summary refs log tree commit diff
path: root/src/test/ui/arg-count-mismatch.stderr
blob: 7bc06134a690dd145903152909d5d7ab107e30b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0061]: this function takes 1 argument but 0 arguments were supplied
  --> $DIR/arg-count-mismatch.rs:5:28
   |
LL | fn f(x: isize) { }
   | -------------- defined here
LL | 
LL | fn main() { let i: (); i = f(); }
   |                            ^-- supplied 0 arguments
   |                            |
   |                            expected 1 argument

error: aborting due to previous error

For more information about this error, try `rustc --explain E0061`.