@@ -60,7 +60,8 @@ impl RawWaker {
6060 RawWaker { data, vtable }
6161 }
6262
63- #[ unstable( feature = "noop_waker" , issue = "98286" ) ]
63+ #[ stable( feature = "noop_waker" , since = "CURRENT_RUSTC_VERSION" ) ]
64+ #[ rustc_const_stable( feature = "noop_waker" , since = "CURRENT_RUSTC_VERSION" ) ]
6465 const NOOP : RawWaker = {
6566 const VTABLE : RawWakerVTable = RawWakerVTable :: new (
6667 // Cloning just returns a new no-op raw waker
@@ -283,7 +284,6 @@ impl fmt::Debug for Context<'_> {
283284/// # Examples
284285/// ```
285286/// #![feature(local_waker)]
286- /// #![feature(noop_waker)]
287287/// use std::task::{ContextBuilder, LocalWaker, Waker, Poll};
288288/// use std::future::Future;
289289///
@@ -557,8 +557,6 @@ impl Waker {
557557 /// # Examples
558558 ///
559559 /// ```
560- /// #![feature(noop_waker)]
561- ///
562560 /// use std::future::Future;
563561 /// use std::task;
564562 ///
@@ -569,7 +567,8 @@ impl Waker {
569567 /// ```
570568 #[ inline]
571569 #[ must_use]
572- #[ unstable( feature = "noop_waker" , issue = "98286" ) ]
570+ #[ stable( feature = "noop_waker" , since = "CURRENT_RUSTC_VERSION" ) ]
571+ #[ rustc_const_stable( feature = "noop_waker" , since = "CURRENT_RUSTC_VERSION" ) ]
573572 pub const fn noop ( ) -> & ' static Waker {
574573 const WAKER : & Waker = & Waker { waker : RawWaker :: NOOP } ;
575574 WAKER
@@ -852,8 +851,6 @@ impl LocalWaker {
852851 ///
853852 /// ```
854853 /// #![feature(local_waker)]
855- /// #![feature(noop_waker)]
856- ///
857854 /// use std::future::Future;
858855 /// use std::task::{ContextBuilder, LocalWaker, Waker, Poll};
859856 ///
@@ -866,7 +863,8 @@ impl LocalWaker {
866863 /// ```
867864 #[ inline]
868865 #[ must_use]
869- #[ unstable( feature = "noop_waker" , issue = "98286" ) ]
866+ #[ stable( feature = "noop_waker" , since = "CURRENT_RUSTC_VERSION" ) ]
867+ #[ rustc_const_stable( feature = "noop_waker" , since = "CURRENT_RUSTC_VERSION" ) ]
870868 pub const fn noop ( ) -> & ' static LocalWaker {
871869 const WAKER : & LocalWaker = & LocalWaker { waker : RawWaker :: NOOP } ;
872870 WAKER
0 commit comments