Sign in
fuchsia
/
third_party
/
rust
/
eda6dc928323fcd0ac1b51cea1aa79ab17e8519d
/
.
/
tests
/
ui
/
impl-trait
/
rpit-assoc-pair-with-lifetime.rs
blob: 1b8a5d4ca99bf1fe2d4056f90a31c09db4cc9524 [
file
] [
log
] [
blame
]
//@ check-pass
pub
fn
iter
<
'a>(v: Vec<(u32, &'
a u32
)>)
->
impl
DoubleEndedIterator
<
Item
=
(
u32
,
&
u32
)>
{
//~^ WARNING eliding a lifetime that's named elsewhere is confusing
v
.
into_iter
()
}
fn
main
()
{}