summaryrefslogtreecommitdiffstats
path: root/tests/ui/limits/issue-56762.stderr
blob: 3a6c3559ac195257c206dee8c212d10e9b6ae4c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0080]: could not evaluate static initializer
  --> $DIR/issue-56762.rs:16:1
   |
LL | static MY_TOO_BIG_ARRAY_1: TooBigArray = TooBigArray::new();
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ values of the type `[u8; 2305843009213693951]` are too big for the current architecture

error[E0080]: could not evaluate static initializer
  --> $DIR/issue-56762.rs:19:1
   |
LL | static MY_TOO_BIG_ARRAY_2: [u8; HUGE_SIZE] = [0x00; HUGE_SIZE];
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ values of the type `[u8; 2305843009213693951]` are too big for the current architecture

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0080`.