Wrong type suggested for overflowing_literals
when the number is big
#135248
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Rationale and extra context
The help currently suggest to use a overly small type
i8
instead of the only fitting typeu128
.Other cases
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: