Open lcnr opened 1 year ago
TODO: write down the solution we decided on in https://github.com/rust-lang/rust/pull/110673 (this solution ended up being unnecessary again :grin: )
we changed our approach here in https://github.com/rust-lang/rust/pull/110673 to not require any special case as alias-bounds are not applied to normalizable aliases at all now.
from https://github.com/lcnr/solver-woes/issues/9#issuecomment-1483510789
if we have
type Assoc: OtherTrait
.1) given
<T as Trait>::Assoc
, we can assumeOtherTrait
2) for this, we have to prove<T as Trait>::Assoc: OtherTrait
inside of each implthere's also the following example once we stop deeply normalizing the
param_env
from https://github.com/lcnr/solver-woes/issues/9#issuecomment-1456284249