about summary refs log tree commit diff
path: root/tests/ui/async-await/async-closures/no-borrow-from-env.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/async-await/async-closures/no-borrow-from-env.rs')
-rw-r--r--tests/ui/async-await/async-closures/no-borrow-from-env.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/ui/async-await/async-closures/no-borrow-from-env.rs b/tests/ui/async-await/async-closures/no-borrow-from-env.rs
index 36b10c06dca..ce180631389 100644
--- a/tests/ui/async-await/async-closures/no-borrow-from-env.rs
+++ b/tests/ui/async-await/async-closures/no-borrow-from-env.rs
@@ -1,8 +1,6 @@
 //@ edition: 2021
 //@ check-pass
 
-#![feature(async_closure)]
-
 fn outlives<'a>(_: impl Sized + 'a) {}
 
 async fn call_once(f: impl AsyncFnOnce()) {