]> git.lizzy.rs Git - rust.git/blob - src/test/ui/print_type_sizes/niche-filling.stdout
Rollup merge of #60959 - petrochenkov:sassert, r=estebank
[rust.git] / src / test / ui / print_type_sizes / niche-filling.stdout
1 print-type-size type: `IndirectNonZero`: 12 bytes, alignment: 4 bytes
2 print-type-size     field `.nested`: 8 bytes
3 print-type-size     field `.post`: 2 bytes
4 print-type-size     field `.pre`: 1 bytes
5 print-type-size     end padding: 1 bytes
6 print-type-size type: `MyOption<IndirectNonZero>`: 12 bytes, alignment: 4 bytes
7 print-type-size     variant `Some`: 12 bytes
8 print-type-size         field `.0`: 12 bytes
9 print-type-size     variant `None`: 0 bytes
10 print-type-size type: `EmbeddedDiscr`: 8 bytes, alignment: 4 bytes
11 print-type-size     variant `Record`: 7 bytes
12 print-type-size         field `.val`: 4 bytes
13 print-type-size         field `.post`: 2 bytes
14 print-type-size         field `.pre`: 1 bytes
15 print-type-size     variant `None`: 0 bytes
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
32 print-type-size type: `NestedNonZero`: 8 bytes, alignment: 4 bytes
33 print-type-size     field `.val`: 4 bytes
34 print-type-size     field `.post`: 2 bytes
35 print-type-size     field `.pre`: 1 bytes
36 print-type-size     end padding: 1 bytes
37 print-type-size type: `Enum4<(), char, (), ()>`: 4 bytes, alignment: 4 bytes
38 print-type-size     variant `Two`: 4 bytes
39 print-type-size         field `.0`: 4 bytes
40 print-type-size     variant `One`: 0 bytes
41 print-type-size         field `.0`: 0 bytes
42 print-type-size     variant `Three`: 0 bytes
43 print-type-size         field `.0`: 0 bytes
44 print-type-size     variant `Four`: 0 bytes
45 print-type-size         field `.0`: 0 bytes
46 print-type-size type: `MyOption<char>`: 4 bytes, alignment: 4 bytes
47 print-type-size     variant `Some`: 4 bytes
48 print-type-size         field `.0`: 4 bytes
49 print-type-size     variant `None`: 0 bytes
50 print-type-size type: `MyOption<std::num::NonZeroU32>`: 4 bytes, alignment: 4 bytes
51 print-type-size     variant `Some`: 4 bytes
52 print-type-size         field `.0`: 4 bytes
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
65 print-type-size type: `std::num::NonZeroU32`: 4 bytes, alignment: 4 bytes
66 print-type-size     field `.0`: 4 bytes
67 print-type-size type: `Enum4<(), (), (), MyOption<u8>>`: 2 bytes, alignment: 1 bytes
68 print-type-size     variant `Four`: 2 bytes
69 print-type-size         field `.0`: 2 bytes
70 print-type-size     variant `One`: 0 bytes
71 print-type-size         field `.0`: 0 bytes
72 print-type-size     variant `Two`: 0 bytes
73 print-type-size         field `.0`: 0 bytes
74 print-type-size     variant `Three`: 0 bytes
75 print-type-size         field `.0`: 0 bytes
76 print-type-size type: `MyOption<MyOption<u8>>`: 2 bytes, alignment: 1 bytes
77 print-type-size     variant `Some`: 2 bytes
78 print-type-size         field `.0`: 2 bytes
79 print-type-size     variant `None`: 0 bytes
80 print-type-size type: `MyOption<u8>`: 2 bytes, alignment: 1 bytes
81 print-type-size     discriminant: 1 bytes
82 print-type-size     variant `Some`: 1 bytes
83 print-type-size         field `.0`: 1 bytes
84 print-type-size     variant `None`: 0 bytes
85 print-type-size type: `Enum4<(), (), bool, ()>`: 1 bytes, alignment: 1 bytes
86 print-type-size     variant `Three`: 1 bytes
87 print-type-size         field `.0`: 1 bytes
88 print-type-size     variant `One`: 0 bytes
89 print-type-size         field `.0`: 0 bytes
90 print-type-size     variant `Two`: 0 bytes
91 print-type-size         field `.0`: 0 bytes
92 print-type-size     variant `Four`: 0 bytes
93 print-type-size         field `.0`: 0 bytes
94 print-type-size type: `MyOption<bool>`: 1 bytes, alignment: 1 bytes
95 print-type-size     variant `Some`: 1 bytes
96 print-type-size         field `.0`: 1 bytes
97 print-type-size     variant `None`: 0 bytes
98 print-type-size type: `MyOption<std::cmp::Ordering>`: 1 bytes, alignment: 1 bytes
99 print-type-size     variant `Some`: 1 bytes
100 print-type-size         field `.0`: 1 bytes
101 print-type-size     variant `None`: 0 bytes
102 print-type-size type: `std::cmp::Ordering`: 1 bytes, alignment: 1 bytes
103 print-type-size     discriminant: 1 bytes
104 print-type-size     variant `Less`: 0 bytes
105 print-type-size     variant `Equal`: 0 bytes
106 print-type-size     variant `Greater`: 0 bytes