move error with diverging output to compile-fail

This commit is contained in:
Esteban Küber
2019-08-06 10:28:09 -07:00
parent ce8510a214
commit 613c0a8780
4 changed files with 0 additions and 14 deletions
-14
View File
@@ -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`.