fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
636 B15 linesraw
1error[E0080]: the type `[u8; 2305843009213693951]` is too big for the current architecture
2  --> $DIR/issue-56762.rs:19:1
3   |
4LL | static MY_TOO_BIG_ARRAY_1: TooBigArray = TooBigArray::new();
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7error[E0080]: the type `[u8; 2305843009213693951]` is too big for the current architecture
8  --> $DIR/issue-56762.rs:21:1
9   |
10LL | static MY_TOO_BIG_ARRAY_2: [u8; HUGE_SIZE] = [0x00; HUGE_SIZE];
11   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0080`.