diff options
| author | bors <bors@rust-lang.org> | 2023-11-04 19:17:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-04 19:17:02 +0000 |
| commit | a42d94ebb883116f2867cbe3016d9bde9ca6d3f7 (patch) | |
| tree | 9bf99b157d195011f09d3ebb86507e284c59fb20 /compiler/rustc_parse/src | |
| parent | 9c8a2694fadf3900c4d7880f6357cee60e9aa39b (diff) | |
| parent | f9bd7dabcf36a10fb0d4c6d5e56b8431fd59f4be (diff) | |
| download | rust-a42d94ebb883116f2867cbe3016d9bde9ca6d3f7.tar.gz rust-a42d94ebb883116f2867cbe3016d9bde9ca6d3f7.zip | |
Auto merge of #113343 - saethlin:looser-alignment, r=RalfJung
Update the alignment checks to match rust-lang/reference#1387 Previously, we had a special case to not check `Rvalue::AddressOf` in this pass because we weren't quite sure if pointers needed to be aligned in the Place passed to it: https://github.com/rust-lang/rust/pull/112026 Since https://github.com/rust-lang/reference/pull/1387 merged, this PR updates this pass to match. The behavior of the check is nearly unchanged, except we also avoid inserting a check for creating references. Most of the changes in this PR are cleanup and new tests.
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions
