aboutsummaryrefslogtreecommitdiff
path: root/src/test/compile-fail/arg-count-mismatch.rs
blob: 18f4104e33caee2a94348f805bd29281a7b75403 (plain) (blame)
1
2
3
4
5
6
7
8
9
// error-pattern: mismatched types

fn f(int x) {
}

fn main() {
  let () i;
  i = f();
}