2022-08-01 18:05:20 -05:00
|
|
|
error[E0080]: evaluation of constant value failed
|
|
|
|
--> $DIR/ub-enum-overwrite.rs:13:14
|
2022-04-05 18:12:09 -05:00
|
|
|
|
|
2022-08-01 18:05:20 -05:00
|
|
|
LL | unsafe { *p }
|
|
|
|
| ^^ using uninitialized data, but this operation requires initialized memory
|
2022-04-05 18:12:09 -05:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2022-04-05 18:12:09 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0080`.
|