os-rust/tests/ui/limits/huge-static.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
689 B
Text
Raw Normal View History

2023-09-12 13:41:42 +02:00
error[E0080]: could not evaluate static initializer
2024-07-09 19:08:30 -07:00
--> $DIR/huge-static.rs:19:1
|
LL | static MY_TOO_BIG_ARRAY_1: TooBigArray = TooBigArray::new();
2024-09-20 00:39:10 -07:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ values of the type `[u8; 2305843009213693952]` are too big for the target architecture
2023-09-12 13:41:42 +02:00
error[E0080]: could not evaluate static initializer
2024-07-09 19:08:30 -07:00
--> $DIR/huge-static.rs:22:1
|
LL | static MY_TOO_BIG_ARRAY_2: [u8; HUGE_SIZE] = [0x00; HUGE_SIZE];
2024-09-20 00:39:10 -07:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ values of the type `[u8; 2305843009213693952]` are too big for the target architecture
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0080`.