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