blob: a0fa245156f877e369cdaad136af48ff131bda5e [file] [log] [blame]
error[E0010]: allocations are not allowed in statics
--> $DIR/static-mut-not-constant.rs:3:28
|
LL | static mut a: Box<isize> = box 3;
| ^^^^^ allocation not allowed in statics
error: aborting due to previous error
For more information about this error, try `rustc --explain E0010`.