Sign in
fuchsia
/
third_party
/
rust
/
daafeb35b731a599fc8b6c4cf37b81f838dae319
/
.
/
src
/
test
/
ui
/
ret-non-nil.rs
blob: 86c02bf38e6f23d7e5c6222fb317d4f19fa1a3b3 [
file
] [
log
] [
blame
]
// error-pattern: `return;` in a function whose return type is not `()`
fn
f
()
{
return
;
}
fn
g
()
->
isize
{
return
;
}
fn
main
()
{
f
();
g
();
}