@@ -5638,6 +5638,24 @@ fn struct_field_positions() {
5638
5638
field_name: "z" . into( ) ,
5639
5639
field_position: 3 ,
5640
5640
} ,
5641
+ Output {
5642
+ struct_name: "ReprPackedWithAlignment" . into( ) ,
5643
+ struct_type: "plain" . into( ) ,
5644
+ field_name: "x" . into( ) ,
5645
+ field_position: 1 ,
5646
+ } ,
5647
+ Output {
5648
+ struct_name: "ReprPackedWithAlignment" . into( ) ,
5649
+ struct_type: "plain" . into( ) ,
5650
+ field_name: "y" . into( ) ,
5651
+ field_position: 2 ,
5652
+ } ,
5653
+ Output {
5654
+ struct_name: "ReprPackedWithAlignment" . into( ) ,
5655
+ struct_type: "plain" . into( ) ,
5656
+ field_name: "z" . into( ) ,
5657
+ field_position: 3 ,
5658
+ } ,
5641
5659
Output {
5642
5660
struct_name: "ReprCTupleStruct" . into( ) ,
5643
5661
struct_type: "tuple" . into( ) ,
@@ -6048,6 +6066,12 @@ fn struct_repr_attributes() {
6048
6066
attr_raw: "#[repr(packed)]" . into( ) ,
6049
6067
attr_repr_kind: "packed" . into( ) ,
6050
6068
} ,
6069
+ Output {
6070
+ name: "ReprPackedWithAlignment" . into( ) ,
6071
+ attrs: vec![ "#[repr(packed(2))]" . into( ) ] ,
6072
+ attr_raw: "#[repr(packed(2))]" . into( ) ,
6073
+ attr_repr_kind: "packed" . into( ) ,
6074
+ } ,
6051
6075
Output {
6052
6076
name: "ReprCTupleStruct" . into( ) ,
6053
6077
attrs: vec![ "#[repr(C)]" . into( ) ] ,
0 commit comments