diff options
Diffstat (limited to 'tests/ui/issues/issue-17431-4.rs')
-rw-r--r-- | tests/ui/issues/issue-17431-4.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/ui/issues/issue-17431-4.rs b/tests/ui/issues/issue-17431-4.rs deleted file mode 100644 index 48f0dba2a..000000000 --- a/tests/ui/issues/issue-17431-4.rs +++ /dev/null @@ -1,8 +0,0 @@ -use std::marker; - -struct Foo<T> { foo: Option<Option<Foo<T>>>, marker: marker::PhantomData<T> } -//~^ ERROR recursive type `Foo` has infinite size - -impl<T> Foo<T> { fn bar(&self) {} } - -fn main() {} |