@@ -5692,6 +5692,24 @@ fn struct_field_positions() {
5692
5692
field_name: "z" . into( ) ,
5693
5693
field_position: 3 ,
5694
5694
} ,
5695
+ Output {
5696
+ struct_name: "ReprPackedWithAlignment" . into( ) ,
5697
+ struct_type: "plain" . into( ) ,
5698
+ field_name: "x" . into( ) ,
5699
+ field_position: 1 ,
5700
+ } ,
5701
+ Output {
5702
+ struct_name: "ReprPackedWithAlignment" . into( ) ,
5703
+ struct_type: "plain" . into( ) ,
5704
+ field_name: "y" . into( ) ,
5705
+ field_position: 2 ,
5706
+ } ,
5707
+ Output {
5708
+ struct_name: "ReprPackedWithAlignment" . into( ) ,
5709
+ struct_type: "plain" . into( ) ,
5710
+ field_name: "z" . into( ) ,
5711
+ field_position: 3 ,
5712
+ } ,
5695
5713
Output {
5696
5714
struct_name: "ReprCTupleStruct" . into( ) ,
5697
5715
struct_type: "tuple" . into( ) ,
@@ -6102,6 +6120,12 @@ fn struct_repr_attributes() {
6102
6120
attr_raw: "#[repr(packed)]" . into( ) ,
6103
6121
attr_repr_kind: "packed" . into( ) ,
6104
6122
} ,
6123
+ Output {
6124
+ name: "ReprPackedWithAlignment" . into( ) ,
6125
+ attrs: vec![ "#[repr(packed(2))]" . into( ) ] ,
6126
+ attr_raw: "#[repr(packed(2))]" . into( ) ,
6127
+ attr_repr_kind: "packed" . into( ) ,
6128
+ } ,
6105
6129
Output {
6106
6130
name: "ReprCTupleStruct" . into( ) ,
6107
6131
attrs: vec![ "#[repr(C)]" . into( ) ] ,
0 commit comments