2023-08-14 08:09:53 -05:00
error[E0284]: type annotations needed: cannot satisfy `<<Leaf as WithAssoc<_>>::Assoc as Id>::Assoc == <<Leaf as WithAssoc<_>>::Assoc as Id>::Assoc`
2023-08-18 16:59:49 -05:00
--> $DIR/generalize-proj-new-universe-index-2.rs:74:5
2023-08-17 08:15:09 -05:00
|
LL | bound::<<Rigid as IdHigherRankedBound>::Assoc, <Wrapper<Leaf> as Id>::Assoc, _>()
2023-08-14 08:09:53 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot satisfy `<<Leaf as WithAssoc<_>>::Assoc as Id>::Assoc == <<Leaf as WithAssoc<_>>::Assoc as Id>::Assoc`
|
note: required by a bound in `bound`
--> $DIR/generalize-proj-new-universe-index-2.rs:69:21
|
LL | fn bound<T: ?Sized, U: ?Sized, V: ?Sized>()
| ----- required by a bound in this function
LL | where
LL | T: WithAssoc<U, Assoc = V>,
| ^^^^^^^^^ required by this bound in `bound`
2023-08-17 08:15:09 -05:00
2023-11-21 09:44:16 -06:00
error: aborting due to 1 previous error
2023-08-17 08:15:09 -05:00
2023-08-14 08:09:53 -05:00
For more information about this error, try `rustc --explain E0284`.