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
As you can see, X is completely ignored in impl<...>.
My suggestion would be to either add support for generics produced by this method, or perhaps remove it altogether as part of #29 in favour of allowing gen impl<...> Trait for @Self ... syntax that would automatically merge impl params.
The text was updated successfully, but these errors were encountered:
in favour of allowing gen impl<...> Trait for @self ... syntax that would automatically merge impl params
Actually, it seems this syntax is already allowed and covers my needs. But it still feels confusing that method is completely ignored - it should either be respected, produce an error, or be removed.
For example, modying the current doctest on
add_impl_generic
to:generates:
As you can see,
X
is completely ignored inimpl<...>
.My suggestion would be to either add support for generics produced by this method, or perhaps remove it altogether as part of #29 in favour of allowing
gen impl<...> Trait for @Self ...
syntax that would automatically merge impl params.The text was updated successfully, but these errors were encountered: