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
There are often clash names between trait decls and impls of the following shape (the impl is for a variable which has a trait bound, rather than a more complex type like Vec<T>, etc.):
Both the trait declaration and the impl get extracted with the same name (Into). We should use the trait bounds in the name generation to avoid this kind of clashes.
The text was updated successfully, but these errors were encountered:
The technical term for such an impl is a "blanket impl". When generating a name for an impl, you could detect this case and rename it to something like From_blanket. And then indeed disambiguate between the blanket impls by taking bounds into account.
There are often clash names between trait decls and impls of the following shape (the impl is for a variable which has a trait bound, rather than a more complex type like
Vec<T>
, etc.):Both the trait declaration and the impl get extracted with the same name (
Into
). We should use the trait bounds in the name generation to avoid this kind of clashes.The text was updated successfully, but these errors were encountered: