summaryrefslogtreecommitdiffstats
path: root/src/test/ui/wf/wf-struct-field.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/wf/wf-struct-field.rs')
-rw-r--r--src/test/ui/wf/wf-struct-field.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/ui/wf/wf-struct-field.rs b/src/test/ui/wf/wf-struct-field.rs
deleted file mode 100644
index 63f8b4382..000000000
--- a/src/test/ui/wf/wf-struct-field.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-// Test that we check struct fields for WFedness.
-
-#![feature(associated_type_defaults)]
-
-#![allow(dead_code)]
-
-struct IsCopy<T:Copy> {
- value: T
-}
-
-struct SomeStruct<A> {
- data: IsCopy<A> //~ ERROR E0277
-}
-
-
-fn main() { }