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
This syntax in practice causes an "undefined type A" error. Self::A, MyTrait::A, <MyTrait>::A all fail, but <MyTrait as MyTrait>::A and <Self as MyTrait>::A succeeds.
Even if the syntax is supposed not to follow the RFC strictly, this is still both ugly, clunky and not very intuitive.
The text was updated successfully, but these errors were encountered:
Agreed, but there is a lot of work still in progress for associated types, so I hope that this will be fixed soon-ish. Also, I think that this is a dup of #18764.
The RFC defines the syntax as following:
This syntax in practice causes an "undefined type A" error.
Self::A
,MyTrait::A
,<MyTrait>::A
all fail, but<MyTrait as MyTrait>::A
and<Self as MyTrait>::A
succeeds.Even if the syntax is supposed not to follow the RFC strictly, this is still both ugly, clunky and not very intuitive.
The text was updated successfully, but these errors were encountered: