]> git.lizzy.rs Git - rust.git/blob - src/test/ui/liveness/liveness-missing-ret2.stderr
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
[rust.git] / src / test / ui / liveness / liveness-missing-ret2.stderr
1 error[E0308]: mismatched types
2   --> $DIR/liveness-missing-ret2.rs:1:11
3    |
4 LL | fn f() -> isize {
5    |    -      ^^^^^ expected `isize`, found `()`
6    |    |
7    |    implicitly returns `()` as its body has no tail or `return` expression
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0308`.