rust/tests/ui/consts/const-eval/ub-int-array.32bit.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
884 B
Plaintext
Raw Normal View History

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
|
LL | MaybeUninit { uninit: () }.init,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ using uninitialized data, but this operation requires initialized memory
2021-03-31 04:33:45 -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
|
LL | MaybeUninit { uninit: () }.init,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ using uninitialized data, but this operation requires initialized memory
2021-03-31 04:33:45 -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
|
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`.