mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
26f47ae831
core/num: Implement feature `integer_cast_extras` Tracking issue https://github.com/rust-lang/rust/issues/154650 Accepted ACP https://github.com/rust-lang/libs-team/issues/765#issuecomment-4164285847 Implement `saturating`, `checked`, and `strict` casting between signed and unsigned integer primitives of the same bit-width. Add `cast_integer` panic function to `overflow_panic.rs`