1 error[E0477]: the type `&'s Texture` does not fulfill the required lifetime
2 --> $DIR/issue-92033.rs:22:28
4 LL | / type TextureIter<'a>: Iterator<Item = &'a Texture>
7 | |_________________- definition of `TextureIter` from trait
9 LL | type TextureIter<'a> = std::option::IntoIter<&'a Texture>;
10 | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 | help: try copying this clause from the trait: `where Self: 'a`
14 note: type must outlive the lifetime `'a` as defined here
15 --> $DIR/issue-92033.rs:22:22
17 LL | type TextureIter<'a> = std::option::IntoIter<&'a Texture>;
20 error: aborting due to previous error
22 For more information about this error, try `rustc --explain E0477`.