1
- print-type-size type: `Adt( IndirectNonZero, []) `: 12 bytes, alignment: 4 bytes
1
+ print-type-size type: `IndirectNonZero`: 12 bytes, alignment: 4 bytes
2
2
print-type-size field `.nested`: 8 bytes
3
3
print-type-size field `.post`: 2 bytes
4
4
print-type-size field `.pre`: 1 bytes
5
5
print-type-size end padding: 1 bytes
6
- print-type-size type: `Adt( MyOption, [Adt( IndirectNonZero, [])]) `: 12 bytes, alignment: 4 bytes
6
+ print-type-size type: `MyOption< IndirectNonZero> `: 12 bytes, alignment: 4 bytes
7
7
print-type-size variant `Some`: 12 bytes
8
8
print-type-size field `.0`: 12 bytes
9
9
print-type-size variant `None`: 0 bytes
10
- print-type-size type: `Adt( EmbeddedDiscr, []) `: 8 bytes, alignment: 4 bytes
10
+ print-type-size type: `EmbeddedDiscr`: 8 bytes, alignment: 4 bytes
11
11
print-type-size discriminant: 1 bytes
12
12
print-type-size variant `Record`: 7 bytes
13
13
print-type-size field `.pre`: 1 bytes
14
14
print-type-size field `.post`: 2 bytes
15
15
print-type-size field `.val`: 4 bytes
16
16
print-type-size variant `None`: 0 bytes
17
- print-type-size type: `Adt( MyOption, [Adt( Union1, [Adt(std::num:: NonZeroU32, [])])]) `: 8 bytes, alignment: 4 bytes
17
+ print-type-size type: `MyOption< Union1< NonZeroU32>> `: 8 bytes, alignment: 4 bytes
18
18
print-type-size discriminant: 4 bytes
19
19
print-type-size variant `Some`: 4 bytes
20
20
print-type-size field `.0`: 4 bytes
21
21
print-type-size variant `None`: 0 bytes
22
- print-type-size type: `Adt( MyOption, [Adt( Union2, [Adt(std::num:: NonZeroU32, []), Adt(std::num:: NonZeroU32, [])])]) `: 8 bytes, alignment: 4 bytes
22
+ print-type-size type: `MyOption< Union2< NonZeroU32, NonZeroU32>> `: 8 bytes, alignment: 4 bytes
23
23
print-type-size discriminant: 4 bytes
24
24
print-type-size variant `Some`: 4 bytes
25
25
print-type-size field `.0`: 4 bytes
26
26
print-type-size variant `None`: 0 bytes
27
- print-type-size type: `Adt( MyOption, [Adt( Union2, [Adt(std::num:: NonZeroU32, []), Uint(U32)])]) `: 8 bytes, alignment: 4 bytes
27
+ print-type-size type: `MyOption< Union2< NonZeroU32, u32>> `: 8 bytes, alignment: 4 bytes
28
28
print-type-size discriminant: 4 bytes
29
29
print-type-size variant `Some`: 4 bytes
30
30
print-type-size field `.0`: 4 bytes
31
31
print-type-size variant `None`: 0 bytes
32
- print-type-size type: `Adt( NestedNonZero, []) `: 8 bytes, alignment: 4 bytes
32
+ print-type-size type: `NestedNonZero`: 8 bytes, alignment: 4 bytes
33
33
print-type-size field `.val`: 4 bytes
34
34
print-type-size field `.post`: 2 bytes
35
35
print-type-size field `.pre`: 1 bytes
36
36
print-type-size end padding: 1 bytes
37
- print-type-size type: `Adt( Enum4, [Tuple([] ), Char, Tuple([] ), Tuple([])]) `: 4 bytes, alignment: 4 bytes
37
+ print-type-size type: `Enum4<( ), char, ( ), ()> `: 4 bytes, alignment: 4 bytes
38
38
print-type-size variant `Two`: 4 bytes
39
39
print-type-size field `.0`: 4 bytes
40
40
print-type-size variant `One`: 0 bytes
@@ -43,34 +43,34 @@ print-type-size variant `Three`: 0 bytes
43
43
print-type-size field `.0`: 0 bytes
44
44
print-type-size variant `Four`: 0 bytes
45
45
print-type-size field `.0`: 0 bytes
46
- print-type-size type: `Adt( MyNotNegativeOne, []) `: 4 bytes, alignment: 4 bytes
46
+ print-type-size type: `MyNotNegativeOne`: 4 bytes, alignment: 4 bytes
47
47
print-type-size field `._i`: 4 bytes
48
- print-type-size type: `Adt( MyOption, [Adt( MyNotNegativeOne, [])]) `: 4 bytes, alignment: 4 bytes
48
+ print-type-size type: `MyOption< MyNotNegativeOne> `: 4 bytes, alignment: 4 bytes
49
49
print-type-size variant `Some`: 4 bytes
50
50
print-type-size field `.0`: 4 bytes
51
51
print-type-size variant `None`: 0 bytes
52
- print-type-size type: `Adt( MyOption, [Adt(std::num:: NonZeroU32, [])]) `: 4 bytes, alignment: 4 bytes
52
+ print-type-size type: `MyOption< NonZeroU32> `: 4 bytes, alignment: 4 bytes
53
53
print-type-size variant `Some`: 4 bytes
54
54
print-type-size field `.0`: 4 bytes
55
55
print-type-size variant `None`: 0 bytes
56
- print-type-size type: `Adt( MyOption, [Char]) `: 4 bytes, alignment: 4 bytes
56
+ print-type-size type: `MyOption<char> `: 4 bytes, alignment: 4 bytes
57
57
print-type-size variant `Some`: 4 bytes
58
58
print-type-size field `.0`: 4 bytes
59
59
print-type-size variant `None`: 0 bytes
60
- print-type-size type: `Adt(Union1, [Adt(std::num::NonZeroU32, [])])`: 4 bytes, alignment: 4 bytes
60
+ print-type-size type: `NonZeroU32`: 4 bytes, alignment: 4 bytes
61
+ print-type-size field `.0`: 4 bytes
62
+ print-type-size type: `Union1<NonZeroU32>`: 4 bytes, alignment: 4 bytes
61
63
print-type-size variant `Union1`: 4 bytes
62
64
print-type-size field `.a`: 4 bytes
63
- print-type-size type: `Adt( Union2, [Adt(std::num:: NonZeroU32, []), Adt(std::num:: NonZeroU32, [])]) `: 4 bytes, alignment: 4 bytes
65
+ print-type-size type: `Union2< NonZeroU32, NonZeroU32> `: 4 bytes, alignment: 4 bytes
64
66
print-type-size variant `Union2`: 4 bytes
65
67
print-type-size field `.a`: 4 bytes
66
68
print-type-size field `.b`: 4 bytes, offset: 0 bytes, alignment: 4 bytes
67
- print-type-size type: `Adt( Union2, [Adt(std::num:: NonZeroU32, []), Uint(U32)]) `: 4 bytes, alignment: 4 bytes
69
+ print-type-size type: `Union2< NonZeroU32, u32> `: 4 bytes, alignment: 4 bytes
68
70
print-type-size variant `Union2`: 4 bytes
69
71
print-type-size field `.a`: 4 bytes
70
72
print-type-size field `.b`: 4 bytes, offset: 0 bytes, alignment: 4 bytes
71
- print-type-size type: `Adt(std::num::NonZeroU32, [])`: 4 bytes, alignment: 4 bytes
72
- print-type-size field `.0`: 4 bytes
73
- print-type-size type: `Adt(Enum4, [Tuple([]), Tuple([]), Tuple([]), Adt(MyOption, [Uint(U8)])])`: 2 bytes, alignment: 1 bytes
73
+ print-type-size type: `Enum4<(), (), (), MyOption<u8>>`: 2 bytes, alignment: 1 bytes
74
74
print-type-size variant `Four`: 2 bytes
75
75
print-type-size field `.0`: 2 bytes
76
76
print-type-size variant `One`: 0 bytes
@@ -79,16 +79,16 @@ print-type-size variant `Two`: 0 bytes
79
79
print-type-size field `.0`: 0 bytes
80
80
print-type-size variant `Three`: 0 bytes
81
81
print-type-size field `.0`: 0 bytes
82
- print-type-size type: `Adt( MyOption, [Adt( MyOption, [Uint(U8)])]) `: 2 bytes, alignment: 1 bytes
82
+ print-type-size type: `MyOption< MyOption<u8>> `: 2 bytes, alignment: 1 bytes
83
83
print-type-size variant `Some`: 2 bytes
84
84
print-type-size field `.0`: 2 bytes
85
85
print-type-size variant `None`: 0 bytes
86
- print-type-size type: `Adt( MyOption, [Uint(U8)]) `: 2 bytes, alignment: 1 bytes
86
+ print-type-size type: `MyOption<u8> `: 2 bytes, alignment: 1 bytes
87
87
print-type-size discriminant: 1 bytes
88
88
print-type-size variant `Some`: 1 bytes
89
89
print-type-size field `.0`: 1 bytes
90
90
print-type-size variant `None`: 0 bytes
91
- print-type-size type: `Adt( Enum4, [Tuple([] ), Tuple([] ), Bool, Tuple([])]) `: 1 bytes, alignment: 1 bytes
91
+ print-type-size type: `Enum4<( ), ( ), bool, ()> `: 1 bytes, alignment: 1 bytes
92
92
print-type-size variant `Three`: 1 bytes
93
93
print-type-size field `.0`: 1 bytes
94
94
print-type-size variant `One`: 0 bytes
@@ -97,15 +97,15 @@ print-type-size variant `Two`: 0 bytes
97
97
print-type-size field `.0`: 0 bytes
98
98
print-type-size variant `Four`: 0 bytes
99
99
print-type-size field `.0`: 0 bytes
100
- print-type-size type: `Adt( MyOption, [Adt(std::cmp::Ordering, [])]) `: 1 bytes, alignment: 1 bytes
100
+ print-type-size type: `MyOption<bool> `: 1 bytes, alignment: 1 bytes
101
101
print-type-size variant `Some`: 1 bytes
102
102
print-type-size field `.0`: 1 bytes
103
103
print-type-size variant `None`: 0 bytes
104
- print-type-size type: `Adt( MyOption, [Bool]) `: 1 bytes, alignment: 1 bytes
104
+ print-type-size type: `MyOption<std::cmp::Ordering> `: 1 bytes, alignment: 1 bytes
105
105
print-type-size variant `Some`: 1 bytes
106
106
print-type-size field `.0`: 1 bytes
107
107
print-type-size variant `None`: 0 bytes
108
- print-type-size type: `Adt( std::cmp::Ordering, []) `: 1 bytes, alignment: 1 bytes
108
+ print-type-size type: `std::cmp::Ordering`: 1 bytes, alignment: 1 bytes
109
109
print-type-size discriminant: 1 bytes
110
110
print-type-size variant `Less`: 0 bytes
111
111
print-type-size variant `Equal`: 0 bytes
0 commit comments