mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-25 05:14:27 +00:00
![]() Refactor IntErrorKind to avoid "underflow" terminology This PR is a continuation of #76455 # Changes - `Overflow` renamed to `PosOverflow` and `Underflow` renamed to `NegOverflow` after discussion in #76455 - Changed some of the parsing code to return `InvalidDigit` rather than `Empty` for strings "+" and "-". https://users.rust-lang.org/t/misleading-error-in-str-parse-for-int-types/49178 - Carry the problem `char` with the `InvalidDigit` variant. - Necessary changes were made to the compiler as it depends on `int_error_matching`. - Redid tests to match on specific errors. r? ```@KodrAus``` |
||
---|---|---|
.. | ||
dec2flt | ||
flt2dec | ||
bignum.rs | ||
i8.rs | ||
i16.rs | ||
i32.rs | ||
i64.rs | ||
int_macros.rs | ||
mod.rs | ||
nan.rs | ||
u8.rs | ||
u16.rs | ||
u32.rs | ||
u64.rs | ||
uint_macros.rs | ||
wrapping.rs |