1 A type with `packed` representation hint has a field with `align`
4 Erroneous code example:
10 #[repr(packed)] // error!
11 struct Packed(Aligned);
14 Just like you cannot have both `align` and `packed` representation hints on a
15 same type, a `packed` type cannot contain another type with the `align`
16 representation hint. However, you can do the opposite:
22 #[repr(align(16))] // ok!
23 struct Aligned(Packed);