Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
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
();
}