|
1 | 1 | error[E0080]: evaluation of constant value failed
|
2 |
| - --> $DIR/assert-type-intrinsics.rs:12:9 |
| 2 | + --> $DIR/assert-type-intrinsics.rs:11:9 |
3 | 3 | |
|
4 | 4 | LL | MaybeUninit::<!>::uninit().assume_init();
|
5 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'aborted execution: attempted to instantiate uninhabited type `!`', $DIR/assert-type-intrinsics.rs:12:36 |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'aborted execution: attempted to instantiate uninhabited type `!`', $DIR/assert-type-intrinsics.rs:11:36 |
6 | 6 |
|
7 | 7 | error[E0080]: evaluation of constant value failed
|
8 |
| - --> $DIR/assert-type-intrinsics.rs:16:9 |
| 8 | + --> $DIR/assert-type-intrinsics.rs:15:9 |
9 | 9 | |
|
10 | 10 | LL | intrinsics::assert_mem_uninitialized_valid::<&'static i32>();
|
11 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'aborted execution: attempted to leave type `&i32` uninitialized, which is invalid', $DIR/assert-type-intrinsics.rs:16:9 |
| 11 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'aborted execution: attempted to leave type `&i32` uninitialized, which is invalid', $DIR/assert-type-intrinsics.rs:15:9 |
12 | 12 |
|
13 | 13 | error[E0080]: evaluation of constant value failed
|
14 |
| - --> $DIR/assert-type-intrinsics.rs:20:9 |
| 14 | + --> $DIR/assert-type-intrinsics.rs:19:9 |
15 | 15 | |
|
16 | 16 | LL | intrinsics::assert_zero_valid::<&'static i32>();
|
17 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'aborted execution: attempted to zero-initialize type `&i32`, which is invalid', $DIR/assert-type-intrinsics.rs:20:9 |
| 17 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'aborted execution: attempted to zero-initialize type `&i32`, which is invalid', $DIR/assert-type-intrinsics.rs:19:9 |
18 | 18 |
|
19 | 19 | error: aborting due to 3 previous errors
|
20 | 20 |
|
|
0 commit comments