about summary refs log tree commit diff
path: root/tests/ui/async-await/feature-async-closure.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/async-await/feature-async-closure.rs')
-rw-r--r--tests/ui/async-await/feature-async-closure.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/ui/async-await/feature-async-closure.rs b/tests/ui/async-await/feature-async-closure.rs
deleted file mode 100644
index 15108aa5a33..00000000000
--- a/tests/ui/async-await/feature-async-closure.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-//@ edition:2018
-// gate-test-async_closure
-
-fn f() {
-    let _ = async || {}; //~ ERROR async closures are unstable
-}
-
-fn main() {}