]> git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/large_const_alloc.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / consts / large_const_alloc.stderr
1 error[E0080]: evaluation of constant value failed
2 --> $DIR/large_const_alloc.rs:6:13
3 |
4 LL | let x = [0_u8; (1 << 47) - 1];
5 | ^^^^^^^^^^^^^^^^^^^^^ tried to allocate more memory than available to compiler
6
7 error[E0080]: could not evaluate static initializer
8 --> $DIR/large_const_alloc.rs:11:13
9 |
10 LL | let x = [0_u8; (1 << 47) - 1];
11 | ^^^^^^^^^^^^^^^^^^^^^ tried to allocate more memory than available to compiler
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0080`.