Sign in
fuchsia
/
third_party
/
rust
/
31f5d69ba4f4d78740190a08ea097b41b00d96cb
/
.
/
src
/
test
/
ui
/
lifetimes
/
lifetime-errors
/
ex3-both-anon-regions-return-type-is-anon.rs
blob: 286cb6dc90e1be64774c5b69b3fe6664c36f6829 [
file
] [
log
] [
blame
]
struct
Foo
{
field
:
i32
}
impl
Foo
{
fn
foo
<
'
a
>(&
self
,
x
:
&
i32
)
->
&
i32
{
x
//~ ERROR lifetime mismatch
}
}
fn
main
()
{
}