fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0010]: allocations are not allowed in statics 2 --> $DIR/static-mut-not-constant.rs:3:28 3 | 4LL | static mut a: Box<isize> = box 3; 5 | ^^^^^ allocation not allowed in statics 6 7error[E0019]: static contains unimplemented expression type 8 --> $DIR/static-mut-not-constant.rs:3:32 9 | 10LL | static mut a: Box<isize> = box 3; 11 | ^ 12 13error: aborting due to 2 previous errors 14 15Some errors have detailed explanations: E0010, E0019. 16For more information about an error, try `rustc --explain E0010`.