Casting an enum with const generic causes compiler panic #97634
Labels
C-bug
Category: This is a bug.
glacier
ICE tracked in rust-lang/glacier.
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.
Hi all,
I ran into the following error as shown in the example below. The error also happened with version 1.61 stable.
If the cast is on the same line it seems to panic.
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: