2022-08-01 19:05:20 -04:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2024-08-17 14:19:34 +02:00
|
|
|
--> $DIR/ub-enum-overwrite.rs:11: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
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2022-04-05 19:12:09 -04:00
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0080`.
|