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 const generics on impl block #822

Closed
dtolnay opened this issue May 25, 2020 · 0 comments · Fixed by #827
Closed

Parse const generics on impl block #822

dtolnay opened this issue May 25, 2020 · 0 comments · Fixed by #827
Labels

Comments

@dtolnay
Copy link
Owner

dtolnay commented May 25, 2020

As seen in https://github.com/rust-lang/rust/blob/46e85b4328fe18492894093c1092dfe509df4370/src/test/ui/const-generics/trait-const-args.rs.

impl<const N: usize> Foo<N> for Const<N> {}
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