ICE: builtin derive created an unaligned reference #129779
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.
I tried this code:
I expected to see this happen: Proper compiler error stating that
#[repr(packed)]
cannot be applied toenum
.Instead, this happened: The following ICE:
Meta
The bug also happens on the
nightly
Rust compiler version.Backtrace:
The text was updated successfully, but these errors were encountered: