]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/array/mod.rs
Rollup merge of #95473 - lqd:macro-expansion, r=petrochenkov
[rust.git] / library / core / src / array / mod.rs
index 20dfbc6347c4fb761f24ab5ee32ef864470ca301..9e42ab5923aa084dd15b7f7f63bb88b4f78dbbad 100644 (file)
@@ -395,7 +395,7 @@ macro_rules! array_impl_default {
 
 array_impl_default! {32, T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T}
 
-#[lang = "array"]
+#[cfg_attr(bootstrap, lang = "array")]
 impl<T, const N: usize> [T; N] {
     /// Returns an array of the same size as `self`, with function `f` applied to each element
     /// in order.