-
Notifications
You must be signed in to change notification settings - Fork 13.3k
regression: literal out of range #137893
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 bisects to #136393 What's interesting is that the expanded code: (|| Some((128_i8).checked_neg()?.checked_neg()?))(); fires the lint on stable, but the proc-macro does not. |
yea I was just reading the proc macro source and was wondering how this ever worked. Turns out |
So I guess I made another accidental bugfix with these refactorings, yay |
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-high |
Discussed briefly in the compiler team triage meeting. It looks like this is an expected fix to lint behavior. Should we mention this in release notes for 1.86? |
closing as accepted change |
https://crater-reports.s3.amazonaws.com/beta-1.86-3/beta-2025-02-28/reg/checked_expr-0.3.0/log.txt
cc @oli-obk since I think you were refactoring something here recently?
The text was updated successfully, but these errors were encountered: