fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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