Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
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
()
{
}