-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
ICE on macro expansion in nightly, but not beta. #30715
Comments
cc @nrc since this looks related to your "Structured Errors" PR |
I don't know if anyone cares, but that macro is going to get broken for a different reason when the new macro future proofing lands (rust-lang/rfcs#1384 and #30450 ) |
The macro was already broken to be fair, but thanks for the heads up. |
Its also worth noting that the reason you get that error about "unexpected Macros do not currently have the ability to express that subclass of expressions. So when the pattern matches
(That's right: A range expression, where the high end of the range is a struct literal. Hey, that's what you get when you have such a broad range of expression forms!) And then it fails the parse when it sees a But I think the |
I can't really pin down the exact cause of this, but a MWE is here. Compiling on beta produces a normal error, but the nightly compiler panics.
On my machine:
The text was updated successfully, but these errors were encountered: