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
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0080`.
|