about summary refs log tree commit diff
path: root/tests/ui/unconstrained-ref.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/unconstrained-ref.rs')
-rw-r--r--tests/ui/unconstrained-ref.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/ui/unconstrained-ref.rs b/tests/ui/unconstrained-ref.rs
deleted file mode 100644
index 473ca954b23..00000000000
--- a/tests/ui/unconstrained-ref.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-struct S<'a, T:'a> {
-    o: &'a Option<T>
-}
-
-fn main() {
-    S { o: &None }; //~ ERROR type annotations needed [E0282]
-}