summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/error-in-impl-trait/closure.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-ui/error-in-impl-trait/closure.rs')
-rw-r--r--src/test/rustdoc-ui/error-in-impl-trait/closure.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/test/rustdoc-ui/error-in-impl-trait/closure.rs b/src/test/rustdoc-ui/error-in-impl-trait/closure.rs
deleted file mode 100644
index f1fd85bb2..000000000
--- a/src/test/rustdoc-ui/error-in-impl-trait/closure.rs
+++ /dev/null
@@ -1,5 +0,0 @@
-// check-pass
-// manually desugared version of an `async fn` (but with a closure instead of a generator)
-pub fn a() -> impl Fn() -> u32 {
- || content::doesnt::matter()
-}