diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-02-24 02:11:33 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-24 02:11:33 -0500 |
| commit | b7f11ef362c1a5f6b8ee2bae7c3e93f1d305ff13 (patch) | |
| tree | a9a69f535a2ec828a9c20cdff594e4f825a5c428 | |
| parent | 81336525628e4f8f1696c918ec3622c1e3bd315e (diff) | |
| parent | e52534f7d8f634e60e7acc260f7fe2e751d1c786 (diff) | |
| download | rust-b7f11ef362c1a5f6b8ee2bae7c3e93f1d305ff13.tar.gz rust-b7f11ef362c1a5f6b8ee2bae7c3e93f1d305ff13.zip | |
Rollup merge of #137061 - progressive-galib:gen_future-closing#76249, r=ibraheemdev
Unstable `gen_future` Feature Tracking This PR removes the reference to the closed tracking issue **#50547** for the `gen_future` feature. Since `gen_future` is an internal feature used in async block desugaring, it does not require a public tracking issue. #### Changes: - Replaced `issue = "50547"` with `issue = "none"` in **library/core/src/future/mod.rs**. - Ensures that it is correctly identified as an internal feature. #### Rationale: With this change, the Unstable Book will now state: > *"This feature has no tracking issue and is therefore likely internal to the compiler, not being intended for general use."* Closes **#76249**. 🚀🦀
| -rw-r--r-- | library/core/src/future/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/core/src/future/mod.rs b/library/core/src/future/mod.rs index e5a368796ec..65c0171c88d 100644 --- a/library/core/src/future/mod.rs +++ b/library/core/src/future/mod.rs @@ -46,19 +46,19 @@ pub use self::join::join; /// It also simplifies the HIR lowering of `.await`. #[lang = "ResumeTy"] #[doc(hidden)] -#[unstable(feature = "gen_future", issue = "50547")] +#[unstable(feature = "gen_future", issue = "none")] #[derive(Debug, Copy, Clone)] pub struct ResumeTy(NonNull<Context<'static>>); -#[unstable(feature = "gen_future", issue = "50547")] +#[unstable(feature = "gen_future", issue = "none")] unsafe impl Send for ResumeTy {} -#[unstable(feature = "gen_future", issue = "50547")] +#[unstable(feature = "gen_future", issue = "none")] unsafe impl Sync for ResumeTy {} #[lang = "get_context"] #[doc(hidden)] -#[unstable(feature = "gen_future", issue = "50547")] +#[unstable(feature = "gen_future", issue = "none")] #[must_use] #[inline] pub unsafe fn get_context<'a, 'b>(cx: ResumeTy) -> &'a mut Context<'b> { |
