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

Cannot parse trait associated type with empty bounds #974

Closed
SNCPlay42 opened this issue Mar 9, 2021 · 1 comment · Fixed by #975
Closed

Cannot parse trait associated type with empty bounds #974

SNCPlay42 opened this issue Mar 9, 2021 · 1 comment · Fixed by #975

Comments

@SNCPlay42
Copy link

trait Foo {
    type Bar: ;
}

This is accepted by the compiler but is rejected by syn with the message "expected identifier" (playground).

@dtolnay
Copy link
Owner

dtolnay commented Mar 9, 2021

Fixed in 1.0.63.

This was referenced Mar 10, 2021
This was referenced Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants