index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
ui
/
typeck
/
wrong-ret-type.rs
blob: 2d6751a823cfd71e87939c503876f32c6614f7b9 (
plain
)
1
2
fn
mk_int
()
->
usize
{
let
i
:
isize
=
3
;
return
i
;
}
//~ ERROR mismatched types
fn
main
()
{
}