ICE occurs after removing Box
and do 'cargo check'
#61760
Labels
A-incr-comp
Area: Incremental compilation
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.
I tried this code to solve recursive type by
Box
, didcargo check
and everything is fine:But when I removed
Box
and didcargo check
again, an ICE occurred:A demo repo is created to help reproducing this bug.
Meta
The ICE could be reproduced on both stable and nightly.
rustc --version --verbose
of stable:rustc --version --verbose
of another stable:rustc --version --verbose
of nightly:Backtrace:
The text was updated successfully, but these errors were encountered: