-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ICE: unrecognized builtin nonterminal t_ty #21356
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
Comments
This is caused by the wildcard match is |
I am testing a fix right now. Btw, I have found an unrelated issue with the following code. It only produces an error when the macro is actually used. I would expect compilation to fail even if the macro is never used (as in some libraries that expose macros).
Should I open a new issue? |
Yes, a new issue for the problem sounds good. |
I'm really surprised this happens, the |
Here is a one-line example of this bug: |
@jdm: when you speak about returning an Err, are you talking about something like that: pub fn parse_nt(p: &mut Parser, name: &str) -> Result<Nonterminal, Nonterminal> { Seems weird no ? Or maybe I misunderstood something ? |
I was only talking about the is_in_follow function, not parse_nt. |
Hi,
Here's the error:
Here's the rustc version:
And here is the code:
The text was updated successfully, but these errors were encountered: