1 error: this union has the default representation
2 --> $DIR/default_union_representation.rs:4:1
4 LL | / union NoAttribute {
10 = note: `-D clippy::default-union-representation` implied by `-D warnings`
11 = help: consider annotating `NoAttribute` with `#[repr(C)]` to explicitly specify memory layout
13 error: this union has the default representation
14 --> $DIR/default_union_representation.rs:16:1
16 LL | / union ReprPacked {
22 = help: consider annotating `ReprPacked` with `#[repr(C)]` to explicitly specify memory layout
24 error: this union has the default representation
25 --> $DIR/default_union_representation.rs:34:1
27 LL | / union ReprAlign {
33 = help: consider annotating `ReprAlign` with `#[repr(C)]` to explicitly specify memory layout
35 error: this union has the default representation
36 --> $DIR/default_union_representation.rs:54:1
38 LL | / union ZSTAndTwoFields {
45 = help: consider annotating `ZSTAndTwoFields` with `#[repr(C)]` to explicitly specify memory layout
47 error: aborting due to 4 previous errors