Compiler panic when using recursive enums #136814
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.
Apparently, using enums which recursively reference themselves will result in a compiler panic
Below is a minimal enum that demonstrates this
Code
Meta
rustc --version --verbose
:Error output
Backtrace
rustc-ice-2025-02-10T11_27_43-27753.txt
The text was updated successfully, but these errors were encountered: