//@ check-pass pub struct VecNumber<'s> { pub vec_number: Vec>, pub auxiliary_object: &'s Vec, } pub struct Number<'s> { pub number: &'s usize, } impl<'s> VecNumber<'s> { pub fn vec_number_iterable_per_item_in_auxiliary_object( &self, ) -> impl Iterator>)> { self.auxiliary_object.iter().map(move |n| { let iter_number = self.vec_number.iter(); (n, iter_number) }) } } fn main() {}