ICE when using enum variant as type #38862
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
For this malformed code:
rustc 1.14 gives the following expected error:
But nightly gives an ICE:
rustc --version --verbose:
The text was updated successfully, but these errors were encountered: