summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-3008-3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-3008-3.rs')
-rw-r--r--tests/ui/issues/issue-3008-3.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/ui/issues/issue-3008-3.rs b/tests/ui/issues/issue-3008-3.rs
deleted file mode 100644
index 212eb2eb8..000000000
--- a/tests/ui/issues/issue-3008-3.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-use std::marker;
-
-enum E1 { V1(E2<E1>), }
-enum E2<T> { V2(E2<E1>, marker::PhantomData<T>), }
-//~^ ERROR recursive type `E2` has infinite size
-
-impl E1 { fn foo(&self) {} }
-
-fn main() {
-}