]>
Commit | Line | Data |
---|---|---|
f2b60f7d FG |
1 | error[E0080]: evaluation of constant value failed |
2 | --> $DIR/union-const-eval-field.rs:28:37 | |
b7449926 | 3 | | |
a1dfa0c6 | 4 | LL | const FIELD3: Field3 = unsafe { UNION.field3 }; |
f2b60f7d | 5 | | ^^^^^^^^^^^^ using uninitialized data, but this operation requires initialized memory |
b7449926 | 6 | |
5e7ed085 | 7 | error[E0080]: erroneous constant used |
f2b60f7d | 8 | --> $DIR/union-const-eval-field.rs:31:5 |
5e7ed085 FG |
9 | | |
10 | LL | FIELD3 | |
11 | | ^^^^^^ referenced constant has errors | |
12 | ||
13 | error: aborting due to 2 previous errors | |
b7449926 | 14 | |
a1dfa0c6 | 15 | For more information about this error, try `rustc --explain E0080`. |