Skip to content
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

Parse generic associated type equality constraint #979

Closed
dtolnay opened this issue Mar 26, 2021 · 1 comment · Fixed by #1001
Closed

Parse generic associated type equality constraint #979

dtolnay opened this issue Mar 26, 2021 · 1 comment · Fixed by #1001
Labels

Comments

@dtolnay
Copy link
Owner

dtolnay commented Mar 26, 2021

As seen in the rustc test suite's src/test/pretty/gat-bounds.rs.

error: expected `,`
  --> dev/main.rs:19:17
   |
19 | fn f<T: X<Y<()> = i32>>() {}
   |                 ^
@dtolnay dtolnay added the syntax label Mar 26, 2021
@dtolnay dtolnay changed the title Parse defaulted generic associated type specification Parse generic associated type equality constraint Mar 26, 2021
@dtolnay
Copy link
Owner Author

dtolnay commented Mar 29, 2021

Duplicate of #973.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant