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>
5 | -------------------------------------------------- definition of `TextureIter` from trait
7 LL | type TextureIter<'a> = std::option::IntoIter<&'a Texture>;
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try copying this clause from the trait: `where Self: 'a`
10 note: type must outlive the lifetime `'a` as defined here
11 --> $DIR/issue-92033.rs:22:22
13 LL | type TextureIter<'a> = std::option::IntoIter<&'a Texture>;
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0477`.