mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-08 13:20:11 +00:00

Fix unwrap error in overflowing int literal
Fixes #136675
it's maybe `negative` only from [check_lit](526e3288fe/compiler/rustc_lint/src/types.rs (L546)
), in this scenario the fields in `TypeLimits` is none.
r? ``@oli-obk``