mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 08:53:35 +00:00
![]() [arithmetic-side-effects] Detect overflowing associated constants of integers Triggers the negation of maximum unsigned integers using associated constants. Rustc already handles `-128i8` but doesn't handle `-i8::MAX`. At the same time, allows stuff like `-1234`. changelog: FP: [arithmetic-side-effects] Detect overflowing associated constants of integers |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |