1 error[E0133]: access to union field is unsafe and requires unsafe function or block
2 --> $DIR/union.rs:30:20
4 LL | Foo { bar: _a } => {},
5 | ^^ access to union field
7 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior
9 error[E0133]: access to union field is unsafe and requires unsafe function or block
10 --> $DIR/union.rs:32:11
13 | ^^^ access to union field
15 = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0133`.