diff --git a/library/core/src/task/wake.rs b/library/core/src/task/wake.rs index ce6af8e70497..a76d3b60a299 100644 --- a/library/core/src/task/wake.rs +++ b/library/core/src/task/wake.rs @@ -863,8 +863,7 @@ impl LocalWaker { /// ``` #[inline] #[must_use] - #[stable(feature = "noop_waker", since = "CURRENT_RUSTC_VERSION")] - #[rustc_const_stable(feature = "noop_waker", since = "CURRENT_RUSTC_VERSION")] + #[unstable(feature = "local_waker", issue = "118959")] pub const fn noop() -> &'static LocalWaker { const WAKER: &LocalWaker = &LocalWaker { waker: RawWaker::NOOP }; WAKER