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

error: aborting due to previous error

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