Skip to content

Commit df64a7f

Browse files
authored
Rollup merge of rust-lang#142160 - Urgau:check-cfg-bootstrap-only-rustc, r=Kobzol
Only allow `bootstrap` cfg in rustc & related Fixes rust-lang#142150 r? bootstrap
2 parents a672cc2 + ec39f5d commit df64a7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/iter/sources/generator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/// ```
2121
#[unstable(feature = "iter_macro", issue = "none", reason = "generators are unstable")]
2222
#[allow_internal_unstable(coroutines, iter_from_coroutine)]
23-
#[cfg_attr(not(bootstrap), rustc_builtin_macro)]
23+
#[rustc_builtin_macro]
2424
pub macro iter($($t:tt)*) {
2525
/* compiler-builtin */
2626
}

0 commit comments

Comments
 (0)