Sign in
rust
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
lifetimes
/
lifetime-errors
/
ex3-both-anon-regions-2.rs
blob: 66e6eb91a22e39067da7728ad67b02d97419e5d9 [
file
] [
log
] [
blame
] [
edit
]
fn
foo
(&
mut
(
ref
mut
v
,
w
):
&
mut
(&
u8
,
&
u8
),
x
:
&
u8
)
{
//~^ ERROR lifetime may not live long enough
*
v
=
x
;
}
fn
main
()
{
}