summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-25439.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-25439.rs')
-rw-r--r--tests/ui/issues/issue-25439.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/ui/issues/issue-25439.rs b/tests/ui/issues/issue-25439.rs
deleted file mode 100644
index 4f73ff3e3..000000000
--- a/tests/ui/issues/issue-25439.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-struct Helper<'a, F: 'a>(&'a F);
-
-fn fix<F>(f: F) -> i32 where F: Fn(Helper<F>, i32) -> i32 {
- f(Helper(&f), 8)
-}
-
-fn main() {
- fix(|_, x| x); //~ ERROR closure/generator type that references itself [E0644]
-}