rust/compiler/rustc_const_eval/src/transform
Jubilee 9300fbbed1
Rollup merge of #121893 - RalfJung:const-interior-mut-tests, r=oli-obk
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``
2024-03-11 09:29:34 -07:00
..
check_consts Rollup merge of #121893 - RalfJung:const-interior-mut-tests, r=oli-obk 2024-03-11 09:29:34 -07:00
mod.rs Move promote_consts back to rustc_mir_transform. 2024-01-08 22:42:07 +00:00
validate.rs Distinguish between library and lang UB in assert_unsafe_precondition 2024-03-08 18:53:58 -05:00