Sign in
fuchsia
/
third_party
/
rust
/
a8aa5114bf13d9c6b2b870c5bf63eab8e70a0018
/
.
/
src
/
test
/
ui
/
lifetimes
/
lifetime-errors
/
ex3-both-anon-regions-latebound-regions.rs
blob: 7938d11a9053281bf95998b43d26162a568f9425 [
file
] [
log
] [
blame
]
fn
foo
<
'a,'
b
>(
x
:
&
mut
Vec
<&
'a u8>, y: &'
b u8
)
{
x
.
push
(
y
);
//~ ERROR lifetime mismatch
}
fn
main
()
{
}