fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0080]: evaluation of constant value failed 2 --> $DIR/large_const_alloc.rs:6:13 3 | 4LL | let x = [0_u8; (1 << 47) - 1]; 5 | ^^^^^^^^^^^^^^^^^^^^^ tried to allocate more memory than available to compiler 6 7error[E0080]: could not evaluate static initializer 8 --> $DIR/large_const_alloc.rs:11:13 9 | 10LL | let x = [0_u8; (1 << 47) - 1]; 11 | ^^^^^^^^^^^^^^^^^^^^^ tried to allocate more memory than available to compiler 12 13error: aborting due to 2 previous errors 14 15For more information about this error, try `rustc --explain E0080`.