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