]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/const-suggest-feature.rs
1 const WRITE
: () = unsafe {
2 *std
::ptr
::null_mut() = 0;
3 //~^ ERROR dereferencing raw mutable pointers in constants is unstable
4 //~| HELP add `#![feature(const_mut_refs)]` to the crate attributes to enable