1 error[E0080]: evaluation of constant value failed
2 --> $DIR/assert-type-intrinsics.rs:12:9
4 LL | MaybeUninit::<!>::uninit().assume_init();
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aborted execution: attempted to instantiate uninhabited type `!`
7 error[E0080]: evaluation of constant value failed
8 --> $DIR/assert-type-intrinsics.rs:16:9
10 LL | intrinsics::assert_mem_uninitialized_valid::<&'static i32>();
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aborted execution: attempted to leave type `&i32` uninitialized, which is invalid
13 error[E0080]: evaluation of constant value failed
14 --> $DIR/assert-type-intrinsics.rs:20:9
16 LL | intrinsics::assert_zero_valid::<&'static i32>();
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aborted execution: attempted to zero-initialize type `&i32`, which is invalid
19 error: aborting due to 3 previous errors
21 For more information about this error, try `rustc --explain E0080`.