2022-08-01 18:05:20 -05:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2022-09-21 06:05:20 -05:00
|
|
|
--> $DIR/ub-int-array.rs:15:9
|
2021-03-31 04:33:45 -05:00
|
|
|
|
|
2022-08-01 18:05:20 -05:00
|
|
|
LL | MaybeUninit { uninit: () }.init,
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ using uninitialized data, but this operation requires initialized memory
|
2021-03-31 04:33:45 -05:00
|
|
|
|
2022-08-01 18:05:20 -05:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2022-09-21 06:05:20 -05:00
|
|
|
--> $DIR/ub-int-array.rs:30:13
|
2021-03-31 04:33:45 -05:00
|
|
|
|
|
2022-08-01 18:05:20 -05:00
|
|
|
LL | MaybeUninit { uninit: () }.init,
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ using uninitialized data, but this operation requires initialized memory
|
2021-03-31 04:33:45 -05:00
|
|
|
|
2022-08-01 18:05:20 -05:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2022-09-21 06:05:20 -05:00
|
|
|
--> $DIR/ub-int-array.rs:56:13
|
2021-03-31 04:33:45 -05:00
|
|
|
|
|
2022-08-01 18:05:20 -05:00
|
|
|
LL | MaybeUninit { uninit: () }.init,
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ using uninitialized data, but this operation requires initialized memory
|
2021-03-31 04:33:45 -05:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0080`.
|