about summary refs log tree commit diff
path: root/tests/ui/sized-cycle-note.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/sized-cycle-note.rs')
-rw-r--r--tests/ui/sized-cycle-note.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/ui/sized-cycle-note.rs b/tests/ui/sized-cycle-note.rs
deleted file mode 100644
index 766a5fa0de3..00000000000
--- a/tests/ui/sized-cycle-note.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-struct Baz { q: Option<Foo> }
-//~^ ERROR recursive types `Baz` and `Foo` have infinite size
-struct Foo { q: Option<Baz> }
-
-impl Foo { fn bar(&self) {} }
-
-fn main() {}