]> git.lizzy.rs Git - rust.git/blob - tests/ui/limits/issue-56762.stderr
Rollup merge of #107048 - DebugSteven:newer-x-check-cargo, r=albertlarsan68
[rust.git] / tests / ui / limits / issue-56762.stderr
1 error[E0080]: values of the type `[u8; 2305843009213693951]` are too big for the current architecture
2   --> $DIR/issue-56762.rs:19:1
3    |
4 LL | static MY_TOO_BIG_ARRAY_1: TooBigArray = TooBigArray::new();
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error[E0080]: values of the type `[u8; 2305843009213693951]` are too big for the current architecture
8   --> $DIR/issue-56762.rs:21:1
9    |
10 LL | static MY_TOO_BIG_ARRAY_2: [u8; HUGE_SIZE] = [0x00; HUGE_SIZE];
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0080`.