Closed as not planned
Description
Bevy version
0.10
[Optional] Relevant system information
What you did
cargo build
What went wrong
error[E0277]: `<<I as IvarType>::Type as InnerIvarType>::Output` is not an iterator
--> /Users/bytedance/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc2-0.3.0-beta.3.patch-leaks.2/src/declare/ivar_forwarding_impls.rs:165:5
|
165 | fn nth(&mut self, n: usize) -> Option<<<Self as Deref>::Target as Iterator>::Item> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `<<I as IvarType>::Type as InnerIvarType>::Output` is not an iterator
|
= help: the trait `Iterator` is not implemented for `<<I as IvarType>::Type as InnerIvarType>::Output`
note: required for `ivar::Ivar<I>` to implement `Iterator`
--> /Users/bytedance/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc2-0.3.0-beta.3.patch-leaks.2/src/declare/ivar_forwarding_impls.rs:154:19
|
154 | impl<I: IvarType> Iterator for Ivar<I>
| ^^^^^^^^ ^^^^^^^
155 | where
156 | <Self as Deref>::Target: Iterator,
| -------- unsatisfied trait bound introduced here
help: consider further restricting the associated type
|
165 | fn nth(&mut self, n: usize) -> Option<<<Self as Deref>::Target as Iterator>::Item> where <<I as IvarType>::Type as InnerIvarType>::Output: Iterator {
| ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
error[E0277]: `<<I as IvarType>::Type as InnerIvarType>::Output` is not an iterator
--> /Users/bytedance/.cargo/registry/src/index.crates.io-6f17d22bba15001f/objc2-0.3.0-beta.3.patch-leaks.2/src/declare/ivar_forwarding_impls.rs:165:5
|
165 | fn nth(&mut self, n: usize) -> Option<<<Self as Deref>::Target as Iterator>::Item> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `<<I as IvarType>::Type as InnerIvarType>::Output` is not an iterator
|
= help: the trait `Iterator` is not implemented for `<<I as IvarType>::Type as InnerIvarType>::Output`
help: consider further restricting the associated type
|
165 | fn nth(&mut self, n: usize) -> Option<<<Self as Deref>::Target as Iterator>::Item> where <<I as IvarType>::Type as InnerIvarType>::Output: Iterator {
| ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Compiling approx v0.5.1
Compiling slotmap v1.0.6
Compiling mach v0.3.2
Compiling tinyvec_macros v0.1.1
Compiling ryu v1.0.13
For more information about this error, try `rustc --explain E0277`.
error: could not compile `objc2` (lib) due to 2 previous errors