@@ -36,9 +36,7 @@ error: layout debugging: LayoutDetails {
36
36
abi: Align {
37
37
pow2: 0,
38
38
},
39
- pref: Align {
40
- pow2: 3,
41
- },
39
+ pref: $PREF_ALIGN,
42
40
},
43
41
size: Size {
44
42
raw: 4,
@@ -72,9 +70,7 @@ error: layout debugging: LayoutDetails {
72
70
abi: Align {
73
71
pow2: 2,
74
72
},
75
- pref: Align {
76
- pow2: 3,
77
- },
73
+ pref: $PREF_ALIGN,
78
74
},
79
75
size: Size {
80
76
raw: 12,
@@ -103,15 +99,13 @@ error: layout debugging: LayoutDetails {
103
99
abi: Align {
104
100
pow2: 2,
105
101
},
106
- pref: Align {
107
- pow2: 3,
108
- },
102
+ pref: $PREF_ALIGN,
109
103
},
110
104
size: Size {
111
105
raw: 12,
112
106
},
113
107
}
114
- --> $DIR/debug.rs:5 :1
108
+ --> $DIR/debug.rs:6 :1
115
109
|
116
110
LL | enum E { Foo, Bar(!, i32, i32) }
117
111
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -159,15 +153,13 @@ error: layout debugging: LayoutDetails {
159
153
abi: Align {
160
154
pow2: 2,
161
155
},
162
- pref: Align {
163
- pow2: 3,
164
- },
156
+ pref: $PREF_ALIGN,
165
157
},
166
158
size: Size {
167
159
raw: 8,
168
160
},
169
161
}
170
- --> $DIR/debug.rs:8 :1
162
+ --> $DIR/debug.rs:9 :1
171
163
|
172
164
LL | struct S { f1: i32, f2: (), f3: i32 }
173
165
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -187,15 +179,13 @@ error: layout debugging: LayoutDetails {
187
179
abi: Align {
188
180
pow2: 2,
189
181
},
190
- pref: Align {
191
- pow2: 3,
192
- },
182
+ pref: $PREF_ALIGN,
193
183
},
194
184
size: Size {
195
185
raw: 8,
196
186
},
197
187
}
198
- --> $DIR/debug.rs:11 :1
188
+ --> $DIR/debug.rs:12 :1
199
189
|
200
190
LL | union U { f1: (i32, i32), f3: i32 }
201
191
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -244,9 +234,7 @@ error: layout debugging: LayoutDetails {
244
234
abi: Align {
245
235
pow2: 2,
246
236
},
247
- pref: Align {
248
- pow2: 3,
249
- },
237
+ pref: $PREF_ALIGN,
250
238
},
251
239
size: Size {
252
240
raw: 8,
@@ -274,9 +262,7 @@ error: layout debugging: LayoutDetails {
274
262
abi: Align {
275
263
pow2: 2,
276
264
},
277
- pref: Align {
278
- pow2: 3,
279
- },
265
+ pref: $PREF_ALIGN,
280
266
},
281
267
size: Size {
282
268
raw: 8,
@@ -318,15 +304,13 @@ error: layout debugging: LayoutDetails {
318
304
abi: Align {
319
305
pow2: 2,
320
306
},
321
- pref: Align {
322
- pow2: 3,
323
- },
307
+ pref: $PREF_ALIGN,
324
308
},
325
309
size: Size {
326
310
raw: 8,
327
311
},
328
312
}
329
- --> $DIR/debug.rs:14 :1
313
+ --> $DIR/debug.rs:15 :1
330
314
|
331
315
LL | type Test = Result<i32, i32>;
332
316
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments