2023-09-12 11:41:42 +00:00
|
|
|
error[E0080]: could not evaluate static initializer
|
2023-07-05 01:01:10 +00:00
|
|
|
--> $DIR/issue-56762.rs:16:1
|
2019-07-31 00:46:46 +00:00
|
|
|
|
|
|
|
|
LL | static MY_TOO_BIG_ARRAY_1: TooBigArray = TooBigArray::new();
|
2023-09-12 11:41:42 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ values of the type `[u8; 2305843009213693951]` are too big for the current architecture
|
2018-12-17 03:17:59 +00:00
|
|
|
|
2023-09-12 11:41:42 +00:00
|
|
|
error[E0080]: could not evaluate static initializer
|
|
|
|
--> $DIR/issue-56762.rs:19:1
|
2019-07-31 00:46:46 +00:00
|
|
|
|
|
|
|
|
LL | static MY_TOO_BIG_ARRAY_2: [u8; HUGE_SIZE] = [0x00; HUGE_SIZE];
|
2023-09-12 11:41:42 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ values of the type `[u8; 2305843009213693951]` are too big for the current architecture
|
2018-12-17 03:17:59 +00:00
|
|
|
|
2019-07-31 00:46:46 +00:00
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0080`.
|