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 parenthesized path arguments with disambiguator #1096

Closed
dtolnay opened this issue Nov 23, 2021 · 0 comments · Fixed by #1099
Closed

Parse parenthesized path arguments with disambiguator #1096

dtolnay opened this issue Nov 23, 2021 · 0 comments · Fixed by #1099
Labels

Comments

@dtolnay
Copy link
Owner

dtolnay commented Nov 23, 2021

Rustc has accepted the following syntax since 1.21.0, but syn currently fails to parse.

fn main() {
    let _: Fn::();
}
error: expected identifier
 --> main.rs:2:16
  |
2 |     let _: Fn::();
  |                ^
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