2020-05-04 16:33:10 -05:00
|
|
|
const WRITE: () = unsafe {
|
|
|
|
*std::ptr::null_mut() = 0;
|
2021-10-05 03:55:57 -05:00
|
|
|
//~^ ERROR dereferencing raw mutable pointers in constants is unstable
|
|
|
|
//~| HELP add `#![feature(const_mut_refs)]` to the crate attributes to enable
|
2020-05-04 16:33:10 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
fn main() {}
|