@@ -14,6 +14,21 @@ print-type-size field `.post`: 2 bytes
14
14
print-type-size field `.pre`: 1 bytes
15
15
print-type-size variant `None`: 0 bytes
16
16
print-type-size end padding: 1 bytes
17
+ print-type-size type: `MyOption<Union1<std::num::NonZeroU32>>`: 8 bytes, alignment: 4 bytes
18
+ print-type-size discriminant: 4 bytes
19
+ print-type-size variant `Some`: 4 bytes
20
+ print-type-size field `.0`: 4 bytes
21
+ print-type-size variant `None`: 0 bytes
22
+ print-type-size type: `MyOption<Union2<std::num::NonZeroU32, std::num::NonZeroU32>>`: 8 bytes, alignment: 4 bytes
23
+ print-type-size discriminant: 4 bytes
24
+ print-type-size variant `Some`: 4 bytes
25
+ print-type-size field `.0`: 4 bytes
26
+ print-type-size variant `None`: 0 bytes
27
+ print-type-size type: `MyOption<Union2<std::num::NonZeroU32, u32>>`: 8 bytes, alignment: 4 bytes
28
+ print-type-size discriminant: 4 bytes
29
+ print-type-size variant `Some`: 4 bytes
30
+ print-type-size field `.0`: 4 bytes
31
+ print-type-size variant `None`: 0 bytes
17
32
print-type-size type: `NestedNonZero`: 8 bytes, alignment: 4 bytes
18
33
print-type-size field `.val`: 4 bytes
19
34
print-type-size field `.post`: 2 bytes
@@ -36,6 +51,17 @@ print-type-size type: `MyOption<std::num::NonZeroU32>`: 4 bytes, alignment: 4 by
36
51
print-type-size variant `Some`: 4 bytes
37
52
print-type-size field `.0`: 4 bytes
38
53
print-type-size variant `None`: 0 bytes
54
+ print-type-size type: `Union1<std::num::NonZeroU32>`: 4 bytes, alignment: 4 bytes
55
+ print-type-size variant `Union1`: 4 bytes
56
+ print-type-size field `.a`: 4 bytes
57
+ print-type-size type: `Union2<std::num::NonZeroU32, std::num::NonZeroU32>`: 4 bytes, alignment: 4 bytes
58
+ print-type-size variant `Union2`: 4 bytes
59
+ print-type-size field `.a`: 4 bytes
60
+ print-type-size field `.b`: 4 bytes, offset: 0 bytes, alignment: 4 bytes
61
+ print-type-size type: `Union2<std::num::NonZeroU32, u32>`: 4 bytes, alignment: 4 bytes
62
+ print-type-size variant `Union2`: 4 bytes
63
+ print-type-size field `.a`: 4 bytes
64
+ print-type-size field `.b`: 4 bytes, offset: 0 bytes, alignment: 4 bytes
39
65
print-type-size type: `std::num::NonZeroU32`: 4 bytes, alignment: 4 bytes
40
66
print-type-size field `.0`: 4 bytes
41
67
print-type-size type: `Enum4<(), (), (), MyOption<u8>>`: 2 bytes, alignment: 1 bytes
0 commit comments