fix test failure due to differing u64 alignment on different targets
This commit is contained in:
parent
f574c65147
commit
8e40b17b6b
@ -19,6 +19,6 @@ enum UninhabitedVariantSpace { //~ERROR: size: Size(16 bytes)
|
||||
|
||||
#[rustc_layout(abi)]
|
||||
enum ScalarPairDifferingSign { //~ERROR: abi: ScalarPair
|
||||
A(u64),
|
||||
B(i64),
|
||||
A(u8),
|
||||
B(i8),
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ error: size: Size(16 bytes)
|
||||
LL | enum UninhabitedVariantSpace {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: abi: ScalarPair(Initialized { value: Int(I64, false), valid_range: 0..=1 }, Initialized { value: Int(I64, false), valid_range: 0..=18446744073709551615 })
|
||||
error: abi: ScalarPair(Initialized { value: Int(I8, false), valid_range: 0..=1 }, Initialized { value: Int(I8, false), valid_range: 0..=255 })
|
||||
--> $DIR/enum.rs:21:1
|
||||
|
|
||||
LL | enum ScalarPairDifferingSign {
|
||||
|
Loading…
Reference in New Issue
Block a user