1 error: untyped pointers are not allowed in constant
2 --> $DIR/raw_mutable_const.rs:5:1
4 LL | const MUTABLE_BEHIND_RAW: *mut i32 = &UnsafeCell::new(42) as *const _ as *mut _;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 warning: skipping const checks
9 help: skipping check that does not even have a feature gate
10 --> $DIR/raw_mutable_const.rs:5:38
12 LL | const MUTABLE_BEHIND_RAW: *mut i32 = &UnsafeCell::new(42) as *const _ as *mut _;
13 | ^^^^^^^^^^^^^^^^^^^^
15 error: aborting due to previous error; 1 warning emitted