Skip to content

Commit eec3bff

Browse files
Stabilize async closures
1 parent 65f491f commit eec3bff

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tests/pass/async-closure-captures.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Same as rustc's `tests/ui/async-await/async-closures/captures.rs`, keep in sync
22

3-
#![feature(async_closure, async_trait_bounds)]
3+
#![feature(async_trait_bounds)]
44

55
use std::future::Future;
66
use std::pin::pin;

tests/pass/async-closure-drop.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(async_closure, async_trait_bounds)]
1+
#![feature(async_fn_traits, async_trait_bounds)]
22

33
use std::future::Future;
44
use std::pin::pin;

tests/pass/async-closure.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(async_closure, async_fn_traits)]
1+
#![feature(async_fn_traits)]
22
#![allow(unused)]
33

44
use std::future::Future;

tests/pass/async-drop.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// please consider modifying rustc's async drop test at
77
// `tests/ui/async-await/async-drop.rs`.
88

9-
#![feature(async_drop, impl_trait_in_assoc_type, async_closure)]
9+
#![feature(async_drop, impl_trait_in_assoc_type)]
1010
#![allow(incomplete_features, dead_code)]
1111

1212
// FIXME(zetanumbers): consider AsyncDestruct::async_drop cleanup tests

0 commit comments

Comments
 (0)