We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GenericArgsBinding
Currently, GenericArgsBinding is defined as follows (link):
GenericArgsBinding : IDENTIFIER = Type
This definition does not account for GATs. It should include optional generic arguments after the identifier.
The text was updated successfully, but these errors were encountered:
Is there a stable way to actually use that?
Sorry, something went wrong.
The following code compiles on stable and Assoc<i32> = () part is an example of GenericArgsBinding with a generic argument if I'm not mistaken?
Assoc<i32> = ()
trait Trait { type Assoc<T>; } fn foo<T>(_: T) where T: Trait<Assoc<i32> = ()> {}
(playground)
Yep, thanks!
Should this be closed? It seems to account for GATs now
Yes, thanks! Resolved by #1481.
No branches or pull requests
Currently,
GenericArgsBinding
is defined as follows (link):This definition does not account for GATs. It should include optional generic arguments after the identifier.
The text was updated successfully, but these errors were encountered: