-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 "token_lit in from_mac_args: InvalidIntSuffix" #104620
Comments
This makes me wonder if we could just create a superset of a set of chars and feed these into rustc, hmm. |
Can we just |
cc @nnethercote |
I'll take a look, thanks for the heads up. |
@petrochenkov: I changed the test input to the following, to avoid an "expected item after attributes" error:
With rust 1.64.0 I get these errors:
If I change
Do you think that is reasonable behaviour? |
Both seem fine, I'd do whatever is simpler to implement. |
…nkov Fix an ICE parsing a malformed attribute. Fixes rust-lang#104620. r? `@petrochenkov`
Code
#[a=5z]
Error output
Backtrace
Regression
Regression in nightly-2022-11-18 from bebd57a (#102944)
Version
The text was updated successfully, but these errors were encountered: