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

fn f(int x) {
}

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