fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0277]: `<P as Process<'_>>::Item` is not an iterator 2 --> $DIR/issue-22872.rs:20:40 3 | 4LL | let _: Box<dyn for<'b> Wrap<'b>> = Box::new(Wrapper(process)); 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `<P as Process<'_>>::Item` is not an iterator 6 | 7 = help: the trait `std::iter::Iterator` is not implemented for `<P as Process<'_>>::Item` 8 = help: consider adding a `where <P as Process<'_>>::Item: std::iter::Iterator` bound 9 = note: required because of the requirements on the impl of `for<'b> Wrap<'b>` for `Wrapper<P>` 10 = note: required for the cast to the object type `dyn for<'b> Wrap<'b>` 11 12error: aborting due to previous error 13 14For more information about this error, try `rustc --explain E0277`.