about summary refs log tree commit diff
path: root/tests/ui/typeck/output-type-mismatch.stderr
blob: ba50cd4e6d751f9ce1cf8fdaf8a0965198c2021b (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0308]: mismatched types
  --> $DIR/output-type-mismatch.rs:3:31
   |
LL | fn main() { let i: isize; i = f(); }
   |                    -----      ^^^ expected `isize`, found `()`
   |                    |
   |                    expected due to this type

error: aborting due to 1 previous error

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