about summary refs log tree commit diff
path: root/src/test/ui/union/union-sized-field.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/union/union-sized-field.rs')
-rw-r--r--src/test/ui/union/union-sized-field.rs19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/test/ui/union/union-sized-field.rs b/src/test/ui/union/union-sized-field.rs
deleted file mode 100644
index cb852eff0c6..00000000000
--- a/src/test/ui/union/union-sized-field.rs
+++ /dev/null
@@ -1,19 +0,0 @@
-use std::mem::ManuallyDrop;
-
-union Foo<T: ?Sized> {
-    value: ManuallyDrop<T>,
-    //~^ ERROR the size for values of type
-}
-
-struct Foo2<T: ?Sized> {
-    value: ManuallyDrop<T>,
-    //~^ ERROR the size for values of type
-    t: u32,
-}
-
-enum Foo3<T: ?Sized> {
-    Value(ManuallyDrop<T>),
-    //~^ ERROR the size for values of type
-}
-
-fn main() {}