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