Compiler error after upgrading to 1.52 and with CARGO_INCREMENTAL=1 #85140
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.
Code
Unable to provide a minimum viable code as the error appeared randomly when compiling https://github.com/kdash-rs/kdash after upgrading Rust toolchain to 1.52.0 on Fedora 32.
So I ran
cargo clean && cargo run
and it started compiling again.But on subsequent compile with
CARGO_INCREMENTAL=1 cargo run
it fails with same issue.If I run
CARGO_INCREMENTAL=0 cargo run
it compiles. SO seems like the issue is when usingCARGO_INCREMENTAL=1
The issue doesnt happen on nightly and beta
Meta
rustc --version --verbose
:Error output
output
Backtrace
The text was updated successfully, but these errors were encountered: