ICE: assertion left == right
failed: non-Aggregate field with matching ABI but differing alignment
#123710
Labels
A-ABI
Area: Concerning the application binary interface (ABI)
A-layout
Area: Memory layout of types
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
(reduced)
Original Code
#[repr(packed)]
at the top causes ICEMeta
rustc --version --verbose
:Command
rustc
Error output
Backtrace
Note
rustc_abi/src/layout.rs Line-289
rust/compiler/rustc_abi/src/layout.rs
Lines 277 to 300 in 8b2459c
The text was updated successfully, but these errors were encountered: