Skip to content

Commit d301b90

Browse files
jhprattgitbot
authored and
gitbot
committed
Rollup merge of rust-lang#137061 - progressive-galib:gen_future-closing#76249, r=ibraheemdev
Unstable `gen_future` Feature Tracking This PR removes the reference to the closed tracking issue **rust-lang#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 **rust-lang#76249**. 🚀🦀
2 parents c7caf81 + 9a67325 commit d301b90

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/src/future/mod.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@ pub use self::join::join;
4646
/// It also simplifies the HIR lowering of `.await`.
4747
#[lang = "ResumeTy"]
4848
#[doc(hidden)]
49-
#[unstable(feature = "gen_future", issue = "50547")]
49+
#[unstable(feature = "gen_future", issue = "none")]
5050
#[derive(Debug, Copy, Clone)]
5151
pub struct ResumeTy(NonNull<Context<'static>>);
5252

53-
#[unstable(feature = "gen_future", issue = "50547")]
53+
#[unstable(feature = "gen_future", issue = "none")]
5454
unsafe impl Send for ResumeTy {}
5555

56-
#[unstable(feature = "gen_future", issue = "50547")]
56+
#[unstable(feature = "gen_future", issue = "none")]
5757
unsafe impl Sync for ResumeTy {}
5858

5959
#[lang = "get_context"]
6060
#[doc(hidden)]
61-
#[unstable(feature = "gen_future", issue = "50547")]
61+
#[unstable(feature = "gen_future", issue = "none")]
6262
#[must_use]
6363
#[inline]
6464
pub unsafe fn get_context<'a, 'b>(cx: ResumeTy) -> &'a mut Context<'b> {

0 commit comments

Comments
 (0)