2025-06-18 12:51:47 +00:00
|
|
|
error[E0080]: reading memory at ALLOC0[0x1..0x2], but memory is uninitialized at [0x1..0x2], and this operation requires initialized memory
|
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 }
|
2025-06-07 11:32:09 +02:00
|
|
|
| ^^ evaluation of `_` failed here
|
2025-06-18 12:51:47 +00:00
|
|
|
|
|
|
|
|
|
= note: the raw bytes of the constant (size: 2, align: 1) {
|
|
|
|
|
01 __ │ .░
|
|
|
|
|
}
|
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`.
|