summaryrefslogtreecommitdiffstats
path: root/src/test/ui/fn/fn-recover-return-sign2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/fn/fn-recover-return-sign2.rs')
-rw-r--r--src/test/ui/fn/fn-recover-return-sign2.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/ui/fn/fn-recover-return-sign2.rs b/src/test/ui/fn/fn-recover-return-sign2.rs
deleted file mode 100644
index 31f56565c..000000000
--- a/src/test/ui/fn/fn-recover-return-sign2.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-// Separate test file because `Fn() => bool` isn't getting fixed and rustfix complained that
-// even though a fix was applied the code was still incorrect
-
-fn foo() => impl Fn() => bool {
- //~^ ERROR return types are denoted using `->`
- //~| ERROR expected one of `+`, `->`, `::`, `where`, or `{`, found `=>`
- unimplemented!()
-}