blob: 1d32851aac176de07411fd4e8794753c5ec3a9e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
error[E0080]: reading memory at ALLOC0[0x0..0x8], but memory is uninitialized at [0x0..0x8], 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: 8, align: 8) {
__ __ __ __ __ __ __ __ │ ░░░░░░░░
}
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0080`.
|