ICE: symbol-mangling-version=v0 attempt to subtract with overflow #130011
Labels
A-lifetimes
Area: Lifetimes / regions
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
using a rustc built from current master, with the following added to config.toml to enable overflow checks:
Error output
rustc --edition=2021 main.rs -Csymbol-mangling-version=v0
This is the subtraction:
rust/compiler/rustc_symbol_mangling/src/v0.rs
Line 298 in 9c01301
Backtrace
Tracking issue for v0 symbol mangling: #60705
The text was updated successfully, but these errors were encountered: