1 error: this constant cannot be used
2 --> $DIR/union-const-eval-field.rs:37:5
4 LL | const FIELD3: Field3 = unsafe { UNION.field3 }; //~ ERROR cannot be used
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempted to read undefined bytes
7 = note: #[deny(const_err)] on by default
9 error: aborting due to previous error