]> git.proxmox.com Git - rustc.git/blob - src/test/ui/missing/missing-return.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / missing / missing-return.stderr
1 error[E0308]: mismatched types
2 --> $DIR/missing-return.rs:3: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`.