diff --git a/library/core/src/iter/mod.rs b/library/core/src/iter/mod.rs index b85841295dab1..7ca41d224a0a6 100644 --- a/library/core/src/iter/mod.rs +++ b/library/core/src/iter/mod.rs @@ -420,7 +420,7 @@ pub use self::adapters::{Intersperse, IntersperseWith}; issue = "42168" )] pub use self::range::Step; -#[unstable(feature = "iter_macro", issue = "none", reason = "generators are unstable")] +#[unstable(feature = "iter_macro", issue = "142269", reason = "generators are unstable")] pub use self::sources::iter; #[stable(feature = "iter_empty", since = "1.2.0")] pub use self::sources::{Empty, empty}; diff --git a/library/core/src/iter/sources.rs b/library/core/src/iter/sources.rs index fd9330201ff4e..8e27edb73c995 100644 --- a/library/core/src/iter/sources.rs +++ b/library/core/src/iter/sources.rs @@ -19,7 +19,7 @@ pub use self::empty::{Empty, empty}; pub use self::from_coroutine::{FromCoroutine, from_coroutine}; #[stable(feature = "iter_from_fn", since = "1.34.0")] pub use self::from_fn::{FromFn, from_fn}; -#[unstable(feature = "iter_macro", issue = "none", reason = "generators are unstable")] +#[unstable(feature = "iter_macro", issue = "142269", reason = "generators are unstable")] pub use self::generator::iter; #[stable(feature = "iter_once", since = "1.2.0")] pub use self::once::{Once, once}; diff --git a/library/core/src/iter/sources/generator.rs b/library/core/src/iter/sources/generator.rs index 0846974d526a9..94d501de033be 100644 --- a/library/core/src/iter/sources/generator.rs +++ b/library/core/src/iter/sources/generator.rs @@ -18,7 +18,7 @@ /// let v: Vec<_> = it.collect(); /// assert_eq!(v, [1, 2, 3]); /// ``` -#[unstable(feature = "iter_macro", issue = "none", reason = "generators are unstable")] +#[unstable(feature = "iter_macro", issue = "142269", reason = "generators are unstable")] #[allow_internal_unstable(coroutines, iter_from_coroutine)] #[rustc_builtin_macro] pub macro iter($($t:tt)*) {