about summary refs log tree commit diff
path: root/tests/ui/limits/huge-static.stderr
blob: 9073d7b03e9ee826bbd58bc9d1408e0da056a7f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0080]: values of the type `[u8; 2305843009213693952]` are too big for the target architecture
  --> $DIR/huge-static.rs:18:1
   |
LL | static MY_TOO_BIG_ARRAY_1: TooBigArray = TooBigArray::new();
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `MY_TOO_BIG_ARRAY_1` failed here

error[E0080]: values of the type `[u8; 2305843009213693952]` are too big for the target architecture
  --> $DIR/huge-static.rs:20:1
   |
LL | static MY_TOO_BIG_ARRAY_2: [u8; HUGE_SIZE] = [0x00; HUGE_SIZE];
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `MY_TOO_BIG_ARRAY_2` failed here

error: aborting due to 2 previous errors

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