//@ check-pass pub fn iter<'a>(v: Vec<(u32, &'a u32)>) -> impl DoubleEndedIterator { //~^ WARNING eliding a lifetime that's named elsewhere is confusing v.into_iter() } fn main() {}