blob: 864364139594abb2de93d71831f5cd78c90eccfa [file]
error[E0080]: reading memory at ALLOC$ID[0x0..0x4], but memory is uninitialized at [0x0..0x4], and this operation requires initialized memory
--> $DIR/const-err-enum-discriminant.rs:10:21
|
LL | Boo = [unsafe { Foo { b: () }.a }; 4][3],
| ^^^^^^^^^^^^^^^ evaluation of `Bar::Boo::{constant#0}` failed here
|
= note: the raw bytes of the constant (size: 4, align: 4) {
__ __ __ __ │ ░░░░
}
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0080`.