-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
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
Constraints on nested associated types do not work #20543
Comments
I played with a variation on this to see if the actual constraint checking is possible but it looks like this doesn't work either:
This works though:
At first glance it appears to be a parsing bug to me, gonna spend a few minutes seeing if I can chase it down. |
This isn't really expected to work yet. You can typically introduce a new type variable to work around it. |
Semi-dup of #20666 |
Parse error, for reference:
|
So it's not clear that this particular syntax ( |
The text was updated successfully, but these errors were encountered: