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

fn f() {
}

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