Sign in
fuchsia
/
third_party
/
rust
/
87ef96d3946ed4add766c0a2cd72d8443e92e4a0
/
.
/
src
/
test
/
ui
/
lifetimes
/
lifetime-errors
/
ex3-both-anon-regions-3.rs
blob: c04b5d3a3eb718dc7aa57371f910d1f5fd5654d9 [
file
] [
log
] [
blame
]
fn
foo
(
z
:
&
mut
Vec
<(&
u8
,&
u8
)>,
(
x
,
y
):
(&
u8
,
&
u8
))
{
z
.
push
((
x
,
y
));
//~ ERROR lifetime mismatch
//~^ ERROR lifetime mismatch
}
fn
main
()
{
}