fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
624 B21 linesraw
1error[E0080]: evaluation of constant value failed
2  --> $DIR/union-const-eval-field.rs:28:37
3   |
4LL |     const FIELD3: Field3 = unsafe { UNION.field3 };
5   |                                     ^^^^^^^^^^^^ using uninitialized data, but this operation requires initialized memory
6
7note: erroneous constant encountered
8  --> $DIR/union-const-eval-field.rs:31:5
9   |
10LL |     FIELD3
11   |     ^^^^^^
12
13note: erroneous constant encountered
14  --> $DIR/union-const-eval-field.rs:31:5
15   |
16LL |     FIELD3
17   |     ^^^^^^
18
19error: aborting due to previous error
20
21For more information about this error, try `rustc --explain E0080`.