1 const WRITE: () = unsafe {
2 *std::ptr::null_mut() = 0;
3 //~^ ERROR dereferencing raw pointers in constants is unstable
4 //~| HELP add `#![feature(const_raw_ptr_deref)]` to the crate attributes to enable
5 //~| ERROR constant contains unimplemented expression type
6 //~| HELP add `#![feature(const_mut_refs)]` to the crate attributes to enable