Skip to content

Commit cf5e005

Browse files
eholkzachs18
andcommitted
Stabilize noop_waker
Co-authored-by: zachs18 <[email protected]>
1 parent ebf66c6 commit cf5e005

9 files changed

+4
-10
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, noop_waker, async_trait_bounds)]
3+
#![feature(async_closure, 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, noop_waker, async_trait_bounds)]
1+
#![feature(async_closure, 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, noop_waker, async_fn_traits)]
1+
#![feature(async_closure, 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, noop_waker, async_closure)]
9+
#![feature(async_drop, impl_trait_in_assoc_type, async_closure)]
1010
#![allow(incomplete_features, dead_code)]
1111

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

tests/pass/async-fn.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![feature(never_type)]
2-
#![feature(noop_waker)]
32

43
use std::future::Future;
54

tests/pass/dyn-star.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#![feature(dyn_star)]
22
#![allow(incomplete_features)]
33
#![feature(custom_inner_attributes)]
4-
#![feature(noop_waker)]
54
// rustfmt destroys `dyn* Trait` syntax
65
#![rustfmt::skip]
76

tests/pass/future-self-referential.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//@revisions: stack tree
22
//@[tree]compile-flags: -Zmiri-tree-borrows
3-
#![feature(noop_waker)]
43

54
use std::future::*;
65
use std::marker::PhantomPinned;

tests/pass/issues/issue-miri-2068.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(noop_waker)]
2-
31
use std::future::Future;
42
use std::pin::Pin;
53
use std::task::{Context, Poll, Waker};

tests/pass/move-data-across-await-point.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![feature(noop_waker)]
21
use std::future::Future;
32
use std::ptr;
43

0 commit comments

Comments
 (0)