blob: 582a848ca603fbc63f0d759a477d810c0eb7ccd5 (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0080]: evaluation of constant value failed
--> $DIR/const-err4.rs:9:21
|
LL | Boo = [unsafe { Foo { b: () }.a }; 4][3],
| ^^^^^^^^^^^^^^^ using uninitialized data, but this operation requires initialized memory
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0080`.
|