summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/const-err4.32bit.stderr
blob: 1cbf78173a7aeee5d4a365e7ffd11d0b6607da92 (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 previous error

For more information about this error, try `rustc --explain E0080`.