-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Support const generics #62
Comments
Oh sorry, I assumed it was a known limitation, or I would have filed a ticket. I assume the restriction on not being able to implement Drop is desired though? |
I think this issue is purely a bug of the generics parsing. Lines 1555 to 1561 in ac4096c
|
I took a run at this; it turns out it's a lot harder to parse arbitrary generics using nothing but declarative macros. I'll take another run at it later. |
i had a go (in 2021 apparently!) and decided it was probably impossible with macros as they are. if it isn't, i couldn't figure it out anyway. |
Currently the following code fails to compile:
Originally found by @jjl (https://twitter.com/techpractical/status/1415215677225553922).
The text was updated successfully, but these errors were encountered: