Sign in
rust
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
lifetimes
/
lifetime-errors
/
ex3-both-anon-regions-3.rs
blob: b3106db776f23c300e7bc3e286ffb290f4b117b1 [
file
] [
log
] [
blame
] [
edit
]
fn
foo
(
z
:
&
mut
Vec
<(&
u8
,&
u8
)>,
(
x
,
y
):
(&
u8
,
&
u8
))
{
z
.
push
((
x
,
y
));
//~^ ERROR lifetime may not live long enough
//~| ERROR lifetime may not live long enough
}
fn
main
()
{
}