Closed LegionMammal978 closed 2 months ago
Ah, it appears that this is #109744. However, the 1.69.0 relnotes do not include this breaking change: they only give the PR title of "Deriving built-in traits on packed structs works with Copy
fields", and the compatibility notes only talk about the unaligned_references
case which was already deny-by-default. It might be helpful to add a notice.
This is something that could be handled in the release notes (Zulip discussion).
@rustbot label -I-prioritize
Triage: It does not seem like this was added to release notes. But at this point, no one is going to read such old release notes anyway. Let's close as won't fix. Keeping this issue open won't do any good.
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
: