ICE while switching a type definition between enum and trait #62751
Labels
A-incr-comp
Area: Incremental compilation
C-bug
Category: This is a bug.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
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 have observed an ICE when I run
cargo check
. At that time I was switching a type definition betweenenum
andtrait
on my own type.At first I was using a trait:
on implementing it further I realized that I needed to use GAT, so I switched to using an enum:
and then I encountered the ICE.
The error message is as follows:
The ICE disappeared after I run
cargo clean
. I have not yet able to reproduce it. I will update this issue once I come up with a minimal working example.rustc version
rustc 1.38.0-nightly (07e0c3651 2019-07-16)
The text was updated successfully, but these errors were encountered: