must_use lint: add with overflow #104352
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Found with a modified fuzz-rustc
Code
Error output
When trying to build using a compiler that has overflow checks enabled:
thread 'rustc' panicked at 'attempt to add with overflow', compiler/rustc_lint/src/unused.rs:284
Backtrace
Version
Built stage1 from aa05f99 with overflow checks enabled
config.toml
The text was updated successfully, but these errors were encountered: