Closed
Description
https://crater-reports.s3.amazonaws.com/beta-1.86-3/beta-2025-02-28/reg/checked_expr-0.3.0/log.txt
cc @oli-obk since I think you were refactoring something here recently?
[INFO] [stdout] error: literal out of range for `i8`
[INFO] [stdout] --> src/lib.rs:25:29
[INFO] [stdout] |
[INFO] [stdout] 10 | assert_eq!(checked_expr!(-(-128_i8)), None);
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: the literal `128_i8` does not fit into the type `i8` whose range is `-128..=127`
[INFO] [stdout] = help: consider using the type `u8` instead
[INFO] [stdout] = note: `#[deny(overflowing_literals)]` on by default