mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 19:27:30 +03:00
49a31cdc1d
make unaligned_references lint deny-by-default This lint has been warn-by-default for a year now (since https://github.com/rust-lang/rust/pull/82525), so I think it is time to crank it up a bit. Code that triggers the lint causes UB (without `unsafe`) when executed, so we really don't want people to write code like this.