-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
ICE with struct-like enum variants #4229
Copy link
Copy link
Closed
Labels
A-codegenArea: Code generationArea: Code generationI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Milestone
Metadata
Metadata
Assignees
Labels
A-codegenArea: Code generationArea: Code generationI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Type
Fields
Give feedbackNo fields configured for issues without a type.
I'm not even sure if this should work, but it does pass typechecking.
This yields an ICE in trans:
The message is from
trans::base::iter_structural_ty.