Rollup merge of #142154 - RalfJung:no-more-cfg-bootstrap, r=oli-obk

get rid of spurious cfg(bootstrap)

r? ```@oli-obk```
This commit is contained in:
Guillaume Gomez
2025-06-07 22:23:00 +02:00
committed by GitHub

View File

@@ -9,8 +9,6 @@
///
/// ```
/// #![feature(iter_macro, coroutines)]
/// # #[cfg(not(bootstrap))]
/// # {
///
/// let it = std::iter::iter!{|| {
/// yield 1;
@@ -19,7 +17,6 @@
/// } }();
/// let v: Vec<_> = it.collect();
/// assert_eq!(v, [1, 2, 3]);
/// # }
/// ```
#[unstable(feature = "iter_macro", issue = "none", reason = "generators are unstable")]
#[allow_internal_unstable(coroutines, iter_from_coroutine)]