mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
move error with diverging output to compile-fail
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
error[E0080]: the type `[u8; SIZE]` is too big for the current architecture
|
||||
--> $SRC_DIR/libcore/mem/mod.rs:LL:COL
|
||||
|
|
||||
LL | intrinsics::size_of::<T>()
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
::: $DIR/issue-55878.rs:6:26
|
||||
|
|
||||
LL | println!("Size: {}", std::mem::size_of::<[u8; std::u64::MAX as usize]>());
|
||||
| ---------------------------------------------------
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
For more information about this error, try `rustc --explain E0080`.
|
||||
Reference in New Issue
Block a user