Is it possible to show the two operands at runtime when this panic occurs ? thread 'main' panicked at 'attempt to multiply with overflow', src/main.rs:7 So maybe we can see2*122in the panic message? example code code with backtrace output Compilingplayground v0.0.1(file:///playground)...
$ RUST_BACKTRACE=1 ./target/debug/image-reproduce thread 'main' panicked at 'attempt to multiply with overflow', /home/capitol/.cargo/registry/src/github.com-1ecc6299db9ec823/image-0.23.12/./src/image.rs:485:9 stack backtrace: 0: <std::sys_common::backtrace::_print::DisplayBacktrace a...
Open ICE: attempt to subtract with overflow #127440 matthiaskrgr opened this issue Jul 6, 2024· 1 comment Comments Member matthiaskrgr commented Jul 6, 2024 auto-reduced (treereduce-rust): fn main() { let _ = #[cfg_eval] #[cfg(::)] 0; } original: #![feature(cfg_eval)]...
Code fn main() { println!("Absolute value of `i64::MIN` = {}", i64::MIN.abs()); } Current output thread 'main' panicked at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/num/mod.rs:358:5: attempt to negate with overflow...