]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/miri_unleashed/box.rs
1 // compile-flags: -Zunleash-the-miri-inside-of-you
2 #![feature(const_mut_refs, box_syntax)]
5 use std
::mem
::ManuallyDrop
;
9 static TEST_BAD
: &mut i32 = {
11 //~^ WARN skipping const check
12 //~| ERROR could not evaluate static initializer
13 //~| NOTE heap allocations