about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-01-31 22:34:26 +0000
committerbors <bors@rust-lang.org>2023-01-31 22:34:26 +0000
commit5b6ed253c42a69b93e7447fb0874a89ab6bc1cfb (patch)
treeba7e23c105713658431c3101d22977d8282e397f /compiler/rustc_parse/src
parentdc1d9d50fba2f6a1ccab8748a0050cde38253f60 (diff)
parentdfc4a7b2d02528f246e455f587605cce224bb99c (diff)
downloadrust-5b6ed253c42a69b93e7447fb0874a89ab6bc1cfb.tar.gz
rust-5b6ed253c42a69b93e7447fb0874a89ab6bc1cfb.zip
Auto merge of #102513 - RalfJung:no-more-unaligned-reference, r=cjgillot,scottmcm
make unaligned_reference a hard error

The `unaligned_references` lint has been warn-by-default since Rust 1.53 (https://github.com/rust-lang/rust/pull/82525) and deny-by-default with mention in cargo future-incompat reports since Rust 1.62 (https://github.com/rust-lang/rust/pull/95372). Current nightly will become Rust 1.66, so (unless major surprises show up with crater) I think it is time we make this a hard error, and close this old soundness gap in the language.

EDIT: Turns out this will only land for Rust 1.67, so there is another 6 weeks of time here for crates to adjust.

Fixes https://github.com/rust-lang/rust/issues/82523.
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions