]> git.proxmox.com Git - rustc.git/blob - src/test/ui/limits/issue-55878.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / limits / issue-55878.stderr
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
3 |
4 LL | intrinsics::size_of::<T>()
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ inside `std::mem::size_of::<[u8; SIZE]>` at $SRC_DIR/core/src/mem/mod.rs:LL:COL
6 |
7 ::: $DIR/issue-55878.rs:7:26
8 |
9 LL | println!("Size: {}", std::mem::size_of::<[u8; u64::MAX as usize]>());
10 | ---------------------------------------------- inside `main` at $DIR/issue-55878.rs:7:26
11
12 error[E0080]: erroneous constant used
13 --> $DIR/issue-55878.rs:7:26
14 |
15 LL | println!("Size: {}", std::mem::size_of::<[u8; u64::MAX as usize]>());
16 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ referenced constant has errors
17 |
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)
19
20 error: aborting due to 2 previous errors
21
22 For more information about this error, try `rustc --explain E0080`.