Sign in
rust
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
underscore-lifetime
/
underscore-lifetime-elison-mismatch.rs
blob: c611268849ab502a16faad4785cbada6c020915a [
file
] [
log
] [
blame
] [
edit
]
fn
foo
(
x
:
&
mut
Vec
<&
'_ u8>, y: &'
_ u8
)
{
x
.
push
(
y
);
}
//~^ ERROR lifetime may not live long enough
fn
main
()
{}