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
|
2020-04-16 06:21:23 -05:00
|
|
|
|
|
2022-08-01 18:05:20 -05:00
|
|
|
LL | MaybeUninit { uninit: () }.init,
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ using uninitialized data, but this operation requires initialized memory
|
2020-04-16 06:21:23 -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
|
2020-04-16 06:21:23 -05:00
|
|
|
|
|
2022-08-01 18:05:20 -05:00
|
|
|
LL | MaybeUninit { uninit: () }.init,
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ using uninitialized data, but this operation requires initialized memory
|
2020-04-16 06:21:23 -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
|
2020-04-16 06:21:23 -05:00
|
|
|
|
|
2022-08-01 18:05:20 -05:00
|
|
|
LL | MaybeUninit { uninit: () }.init,
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ using uninitialized data, but this operation requires initialized memory
|
2020-04-16 06:21:23 -05:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0080`.
|