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: 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: `#[deny(const_err)]` on by default
19 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
20 = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
22 error: aborting due to 2 previous errors
24 For more information about this error, try `rustc --explain E0080`.