1 2 3 4 5 6 7
#![feature(box_syntax)] static mut a: Box<isize> = box 3; //~^ ERROR allocations are not allowed in statics //~| ERROR static contains unimplemented expression type fn main() {}