]> git.proxmox.com Git - rustc.git/blame - tests/ui/typeck/output-type-mismatch.stderr
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / ui / typeck / output-type-mismatch.stderr
CommitLineData
ff7c6d11 1error[E0308]: mismatched types
0731742a 2 --> $DIR/output-type-mismatch.rs:5:31
ff7c6d11 3 |
b7449926 4LL | fn main() { let i: isize; i = f(); }
3c0e092e
XL
5 | ----- ^^^ expected `isize`, found `()`
6 | |
7 | expected due to this type
ff7c6d11
XL
8
9error: aborting due to previous error
10
0531ce1d 11For more information about this error, try `rustc --explain E0308`.