-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
if we have type Assoc: OtherTrait
.
- given
<T as Trait>::Assoc
, we can assumeOtherTrait
- for this, we have to prove
<T as Trait>::Assoc: OtherTrait
inside of each impl
It feels like this should be unsound by using the assumption while proving that it holds, but may require more coinduction or something, idk.
There are sound alternatives to AliasBound
candidates but they may slightly change inference or result in a performance regression.