about summary refs log tree commit diff
path: root/tests/ui/async-await/feature-async-closure.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-11-06 17:53:59 +0000
committerMichael Goulet <michael@errs.io>2024-12-13 00:04:56 +0000
commitc605c84be8780e8f85379dc35f4567d6c64908d8 (patch)
tree1d16f0e7628f7afb02573ff730e21de7c10e3323 /tests/ui/async-await/feature-async-closure.rs
parentd4025ee454169fbd22f5773f54348310ab6a47bb (diff)
downloadrust-c605c84be8780e8f85379dc35f4567d6c64908d8.tar.gz
rust-c605c84be8780e8f85379dc35f4567d6c64908d8.zip
Stabilize async closures
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() {}