You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On rustc 0.13.0-nightly (c6c786671 2015-01-04 00:50:59 +0000) this yields:
lib.rs:10:1: 13:2 error: type annotations required: cannot resolve `<D as Foo>::L == <C as Foo>::L`
lib.rs:10 impl<C: Foo, D: Foo<L = C::L, R = C::R>> Foo for Bar<C, D> {
lib.rs:11 type L = C::L;
lib.rs:12 type R = C::R;
lib.rs:13 }
Removing the second associated type from Foo (R) compiles successfully.
The text was updated successfully, but these errors were encountered:
I'm not sure if the following should work, but the error message is not helpful:
On
rustc 0.13.0-nightly (c6c786671 2015-01-04 00:50:59 +0000)
this yields:Removing the second associated type from
Foo
(R
) compiles successfully.The text was updated successfully, but these errors were encountered: