-
Notifications
You must be signed in to change notification settings - Fork 13.3k
i64::MIN literal out of range warning #16684
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
I was investigating this, and somewhere along the linting it basically ends up being a node representing I will continue working on this. |
I guess that's right. When you look at the rustc output you can see that only the digits but not the - are underlined. |
So regarding the above, it actually wasn't the case where the AST was broken. It was rather that we weren't utilizing the propagated sign properly. |
- Ensures the propagated negation sign is properly utilized during type checking. - Removed redundant type checking, specifically regarding the out of bounds checking on a bounded type. - Closes rust-lang#16684
fix: Don't panic on synthetic syntax in inference diagnostics Temporary fix for rust-lang/rust-analyzer#16682 We ought to rethink how we attach diagnostics to things, as IDs don't work for `format_args` like that!
The text was updated successfully, but these errors were encountered: