summary refs log tree commit diff
path: root/tests/ui/consts/const-err-enum-discriminant.stderr
blob: 7cf34595dc972233c3b39bba4bcd5010193a2622 (plain)
1
2
3
4
5
6
7
8
9
error[E0080]: evaluation of constant value failed
  --> $DIR/const-err-enum-discriminant.rs:8: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`.