mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-08-27 20:00:03 -04: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.