Making unaligned_references
a hard error broke derives on packed structs without warning
#110645
Labels
C-bug
Category: This is a bug.
I tried this code:
I expected to see this happen: A deny-by-default
unaligned_references
lint (or similar) in Rust 1.68.2, and a hard error in Rust 1.69.0.Instead, this happened: No lint in Rust 1.68.2, and a hard error in Rust 1.69.0:
(This issue was originally reported by @UncombedCoconut, who found that the bbchallenge
decider-finite-automata-reduction
crate no longer compiles in 1.69.0, due to the use of derive macros on a packed struct.)Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: