diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-02-29 20:50:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-29 20:50:04 +0100 |
| commit | 255fdcc8585285daae4e25049cd8f7b7c22f2b7b (patch) | |
| tree | 27d4a61800b788c8e9e1bda65abb3341eb4e3f7f /compiler/rustc_codegen_gcc | |
| parent | 2fdcdd902538eddc685a0aa4ecf5e0da082d489f (diff) | |
| parent | a9596fbf2aff171405242e52cf7124e8800f7879 (diff) | |
| download | rust-255fdcc8585285daae4e25049cd8f7b7c22f2b7b.tar.gz rust-255fdcc8585285daae4e25049cd8f7b7c22f2b7b.zip | |
Rollup merge of #121782 - RalfJung:mutable-ref-in-static, r=oli-obk
allow statics pointing to mutable statics Fixes https://github.com/rust-lang/rust/issues/120450 for good. We can even simplify our checks: no need to specifically go looking for mutable references in const, we can just reject any reference that points to something mutable. r? `@oli-obk`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
