diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-09-28 18:13:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-28 18:13:11 +0200 |
| commit | 6059195875986ac9d928d1059d733d518cb1709b (patch) | |
| tree | e7662fc88d41f260a5a4fffa01dd4e33635fc8cb /compiler/rustc_interface/src | |
| parent | 322dca8551ba2e395268ddff9bcf58e0d0479813 (diff) | |
| parent | 23f1767c808d759ff683812581ca0e954d72c463 (diff) | |
| download | rust-6059195875986ac9d928d1059d733d518cb1709b.tar.gz rust-6059195875986ac9d928d1059d733d518cb1709b.zip | |
Rollup merge of #141469 - Kivooeo:remove-usnsafegate, r=compiler-errors
Allow `&raw [mut | const]` for union field in safe code fixes rust-lang/rust#141264 r? ``@Veykril`` Unresolved questions: - [x] Any edge cases? - [x] How this works with rust-analyzer (because all I've did is prevent compiler from emitting error in `&raw` context) (rust-lang/rust-analyzer#19867) - [x] Should we allow `addr_of!` and `addr_of_mut!` as well? In current version they both (`&raw` and `addr_of!`) are allowed (They are the same) - [x] Is chain of union fields is a safe? (Yes)
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
