Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
liveness
/
liveness-forgot-ret.rs
blob: 3ba2f2d276ef6b18d5610553cf2082da1f683554 [
file
] [
log
] [
blame
] [
edit
]
fn
god_exists
(
a
:
isize
)
->
bool
{
return
god_exists
(
a
);
}
//~^ WARN function cannot return without recursing
fn
f
(
a
:
isize
)
->
isize
{
if
god_exists
(
a
)
{
return
5
;
};
}
//~^ ERROR mismatched types
fn
main
()
{
f
(
12
);
}