BUG: [nodrop] Fix broken test

Fix a broken size test in nodrop; this test does not tell us about enum
layout optimizations.
This commit is contained in:
bluss
2017-10-23 21:02:32 +02:00
parent 75abbd6145
commit 4414a01a26
-1
View File
@@ -124,7 +124,6 @@ mod imp {
// as Option would do.
assert!(mem::size_of::<Flag<&i32>>() > mem::size_of::<&i32>());
assert!(mem::size_of::<Flag<Vec<i32>>>() > mem::size_of::<Vec<i32>>());
assert!(mem::size_of::<Option<Flag<&i32>>>() > mem::size_of::<Flag<&i32>>());
}
}