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
Based on a read of the implementation, I believe situations like this are incorrectly handled:
traitFoo{typeOut;}traitBar<T:Foo>{}
The problem is that Bar needs a synthetic parameter to play the role of T::Out, but the current code only adds synthetic parameters to things other than traits (since, in a trait, we add the parameters for the associated types defined within the trait itself). We also do not add synthetic parameters for bounds appearing on structs etc.
The text was updated successfully, but these errors were encountered:
Based on a read of the implementation, I believe situations like this are incorrectly handled:
The problem is that
Bar
needs a synthetic parameter to play the role ofT::Out
, but the current code only adds synthetic parameters to things other than traits (since, in a trait, we add the parameters for the associated types defined within the trait itself). We also do not add synthetic parameters for bounds appearing on structs etc.The text was updated successfully, but these errors were encountered: