@@ -36,9 +36,7 @@ error: layout debugging: LayoutDetails {
3636 abi: Align {
3737 pow2: 0,
3838 },
39- pref: Align {
40- pow2: 3,
41- },
39+ pref: $PREF_ALIGN,
4240 },
4341 size: Size {
4442 raw: 4,
@@ -72,9 +70,7 @@ error: layout debugging: LayoutDetails {
7270 abi: Align {
7371 pow2: 2,
7472 },
75- pref: Align {
76- pow2: 3,
77- },
73+ pref: $PREF_ALIGN,
7874 },
7975 size: Size {
8076 raw: 12,
@@ -103,15 +99,13 @@ error: layout debugging: LayoutDetails {
10399 abi: Align {
104100 pow2: 2,
105101 },
106- pref: Align {
107- pow2: 3,
108- },
102+ pref: $PREF_ALIGN,
109103 },
110104 size: Size {
111105 raw: 12,
112106 },
113107}
114- --> $DIR/debug.rs:5 :1
108+ --> $DIR/debug.rs:6 :1
115109 |
116110LL | enum E { Foo, Bar(!, i32, i32) }
117111 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -159,15 +153,13 @@ error: layout debugging: LayoutDetails {
159153 abi: Align {
160154 pow2: 2,
161155 },
162- pref: Align {
163- pow2: 3,
164- },
156+ pref: $PREF_ALIGN,
165157 },
166158 size: Size {
167159 raw: 8,
168160 },
169161}
170- --> $DIR/debug.rs:8 :1
162+ --> $DIR/debug.rs:9 :1
171163 |
172164LL | struct S { f1: i32, f2: (), f3: i32 }
173165 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -187,15 +179,13 @@ error: layout debugging: LayoutDetails {
187179 abi: Align {
188180 pow2: 2,
189181 },
190- pref: Align {
191- pow2: 3,
192- },
182+ pref: $PREF_ALIGN,
193183 },
194184 size: Size {
195185 raw: 8,
196186 },
197187}
198- --> $DIR/debug.rs:11 :1
188+ --> $DIR/debug.rs:12 :1
199189 |
200190LL | union U { f1: (i32, i32), f3: i32 }
201191 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -244,9 +234,7 @@ error: layout debugging: LayoutDetails {
244234 abi: Align {
245235 pow2: 2,
246236 },
247- pref: Align {
248- pow2: 3,
249- },
237+ pref: $PREF_ALIGN,
250238 },
251239 size: Size {
252240 raw: 8,
@@ -274,9 +262,7 @@ error: layout debugging: LayoutDetails {
274262 abi: Align {
275263 pow2: 2,
276264 },
277- pref: Align {
278- pow2: 3,
279- },
265+ pref: $PREF_ALIGN,
280266 },
281267 size: Size {
282268 raw: 8,
@@ -318,15 +304,13 @@ error: layout debugging: LayoutDetails {
318304 abi: Align {
319305 pow2: 2,
320306 },
321- pref: Align {
322- pow2: 3,
323- },
307+ pref: $PREF_ALIGN,
324308 },
325309 size: Size {
326310 raw: 8,
327311 },
328312}
329- --> $DIR/debug.rs:14 :1
313+ --> $DIR/debug.rs:15 :1
330314 |
331315LL | type Test = Result<i32, i32>;
332316 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments