ICE with packed union: "alignment mismatch between ABI and layout" #104802
Labels
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) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Found with a modified fuzz-rustc
Code
Error output with debug assertions enabled
alignment mismatch between ABI and layout in TyAndLayout { ... }, compiler/rustc_ty_utils/src/layout_sanity_check.rs:77
Full output including backtrace
Version
Built stage1 from 604d521 on x86_64-apple-darwin
config.toml
CC #99836 participants: @cuviper, @RalfJung @eddyb
@rustbot label +A-layout
The text was updated successfully, but these errors were encountered: