fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0010]: allocations are not allowed in constants 2 --> $DIR/E0010.rs:4:24 3 | 4LL | const CON : Box<i32> = box 0; 5 | ^^^^^ allocation not allowed in constants 6 7error[E0019]: constant contains unimplemented expression type 8 --> $DIR/E0010.rs:4:28 9 | 10LL | const CON : Box<i32> = box 0; 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`.