about summary refs log tree commit diff
path: root/library/alloc
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2022-01-30 08:37:46 -0800
committerGitHub <noreply@github.com>2022-01-30 08:37:46 -0800
commit0610d4fa66f95fa3a4a7af86239976ed668bab0e (patch)
tree077c6754dc195449445e9089af4f2fccd3de9667 /library/alloc
parent7cc28c128be0363d83accf318b87b40ba6168384 (diff)
parent5b3462c556932234c6bae24c6f90c55a463f23c3 (diff)
downloadrust-0610d4fa66f95fa3a4a7af86239976ed668bab0e.tar.gz
rust-0610d4fa66f95fa3a4a7af86239976ed668bab0e.zip
Rollup merge of #92887 - pietroalbini:pa-bootstrap-update, r=Mark-Simulacrum
Bootstrap compiler update

r? ``@Mark-Simulacrum``
Diffstat (limited to 'library/alloc')
-rw-r--r--library/alloc/src/lib.rs20
1 files changed, 8 insertions, 12 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs
index 1cbc2b65f4d..dfd3771c1d0 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -67,17 +67,14 @@
     issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/",
     test(no_crate_inject, attr(allow(unused_variables), deny(warnings)))
 )]
-#![cfg_attr(
-    not(bootstrap),
-    doc(cfg_hide(
-        not(test),
-        not(any(test, bootstrap)),
-        any(not(feature = "miri-test-libstd"), test, doctest),
-        no_global_oom_handling,
-        not(no_global_oom_handling),
-        target_has_atomic = "ptr"
-    ))
-)]
+#![doc(cfg_hide(
+    not(test),
+    not(any(test, bootstrap)),
+    any(not(feature = "miri-test-libstd"), test, doctest),
+    no_global_oom_handling,
+    not(no_global_oom_handling),
+    target_has_atomic = "ptr"
+))]
 #![no_std]
 #![needs_allocator]
 //
@@ -151,7 +148,6 @@
 #![feature(const_precise_live_drops)]
 #![feature(const_trait_impl)]
 #![feature(const_try)]
-#![cfg_attr(bootstrap, feature(destructuring_assignment))]
 #![feature(dropck_eyepatch)]
 #![feature(exclusive_range_pattern)]
 #![feature(fundamental)]