]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/static-mut-not-constant.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / test / ui / static / static-mut-not-constant.rs
1 #![feature(box_syntax)]
2
3 static mut a: Box<isize> = box 3;
4 //~^ ERROR allocations are not allowed in statics
5
6 fn main() {}