]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-err4.32bit.stderr
Rollup merge of #105843 - compiler-errors:sugg-const, r=lcnr
[rust.git] / src / test / ui / consts / const-err4.32bit.stderr
1 error[E0080]: evaluation of constant value failed
2   --> $DIR/const-err4.rs:9:21
3    |
4 LL |     Boo = [unsafe { Foo { b: () }.a }; 4][3],
5    |                     ^^^^^^^^^^^^^^^ using uninitialized data, but this operation requires initialized memory
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0080`.