Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
typeck
/
wrong-ret-type.rs
blob: 2d6751a823cfd71e87939c503876f32c6614f7b9 [
file
] [
log
] [
blame
]
fn
mk_int
()
->
usize
{
let
i
:
isize
=
3
;
return
i
;
}
//~ ERROR mismatched types
fn
main
()
{
}