about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-02-29 20:50:04 +0100
committerGitHub <noreply@github.com>2024-02-29 20:50:04 +0100
commit255fdcc8585285daae4e25049cd8f7b7c22f2b7b (patch)
tree27d4a61800b788c8e9e1bda65abb3341eb4e3f7f /compiler/rustc_codegen_gcc
parent2fdcdd902538eddc685a0aa4ecf5e0da082d489f (diff)
parenta9596fbf2aff171405242e52cf7124e8800f7879 (diff)
downloadrust-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