1 error[E0080]: values of the type `[u8; SIZE]` are too big for the current architecture
2 --> $SRC_DIR/core/src/mem/mod.rs:LL:COL
4 LL | intrinsics::size_of::<T>()
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ inside `std::mem::size_of::<[u8; SIZE]>` at $SRC_DIR/core/src/mem/mod.rs:LL:COL
7 ::: $DIR/issue-55878.rs:7:26
9 LL | println!("Size: {}", std::mem::size_of::<[u8; u64::MAX as usize]>());
10 | ---------------------------------------------- inside `main` at $DIR/issue-55878.rs:7:26
12 error[E0080]: erroneous constant used
13 --> $DIR/issue-55878.rs:7:26
15 LL | println!("Size: {}", std::mem::size_of::<[u8; u64::MAX as usize]>());
16 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ referenced constant has errors
18 = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
20 error: aborting due to 2 previous errors
22 For more information about this error, try `rustc --explain E0080`.