1 error[E0308]: mismatched types
2 --> $DIR/wrong-ret-type.rs:2:49
4 LL | fn mk_int() -> usize { let i: isize = 3; return i; }
5 | ----- ^ expected `usize`, found `isize`
7 | expected `usize` because of return type
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0308`.