mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 19:27:30 +03:00
9300fbbed1
Add tests (and a bit of cleanup) for interior mut handling in promotion and const-checking Basically these are the parts of https://github.com/rust-lang/rust/pull/121786 that can be salvaged. r? ``@oli-obk``