Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
return-disjoint-regions.rs
blob: d0feb3b65e12ac09bab1b0c7a7d8686725308952 [
file
] [
log
] [
blame
]
// See https://github.com/rust-lang/rust/pull/67911#issuecomment-576023915
fn
f
<
'a, '
b
>(
x
:
i32
)
->
(&
'a i32, &'
b i32
)
{
let
y
=
&
x
;
(
y
,
y
)
//~ ERROR cannot return
}
fn
main
()
{}