rust/compiler/rustc_const_eval
Matthias Krüger 255fdcc858
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`
2024-02-29 20:50:04 +01:00
..
src Rollup merge of #121782 - RalfJung:mutable-ref-in-static, r=oli-obk 2024-02-29 20:50:04 +01:00
Cargo.toml Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
messages.ftl allow statics pointing to mutable statics 2024-02-29 09:34:15 +01:00