about summary refs log tree commit diff
path: root/library/core/src/array
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2022-03-15 16:56:28 +0100
committerlcnr <rust@lcnr.de>2022-03-30 11:23:58 +0200
commitafbecc0f68c4dcfc4878ba5bcb1ac942544a1bdc (patch)
tree021654b1af9b3df00263b326e1ccc86d98f11e0b /library/core/src/array
parent983c12f7f6a51c10d41c825921e962b0b74e4bca (diff)
downloadrust-afbecc0f68c4dcfc4878ba5bcb1ac942544a1bdc.tar.gz
rust-afbecc0f68c4dcfc4878ba5bcb1ac942544a1bdc.zip
remove now unnecessary lang items
Diffstat (limited to 'library/core/src/array')
-rw-r--r--library/core/src/array/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/array/mod.rs b/library/core/src/array/mod.rs
index 20dfbc6347c..9e42ab5923a 100644
--- a/library/core/src/array/mod.rs
+++ b/library/core/src/array/mod.rs
@@ -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.