We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1129ce5 commit 1095082Copy full SHA for 1095082
src/test/run-pass/dst-field-align.rs
@@ -55,12 +55,6 @@ fn main() {
55
// The pointers should be the same
56
assert_eq!(ptr1, ptr2);
57
58
- // Test that packed structs are handled correctly
59
- let p : Packed<usize> = Packed { a: 0, b: 13 };
60
- assert_eq!(p.b.get(), 13);
61
- let p : &Packed<Bar> = &p;
62
63
-
64
// Test that nested DSTs work properly
65
let f : Foo<Foo<usize>> = Foo { a: 0, b: Foo { a: 1, b: 17 }};
66
assert_eq!(f.b.b.get(), 17);
0 commit comments