about summary refs log tree commit diff
path: root/library/alloc/tests
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2024-10-14 14:46:44 -0700
committerJosh Stone <jistone@redhat.com>2024-10-15 20:30:23 -0700
commitacb09bf741ba439356e824dd10a07054c6656fb6 (patch)
tree376a37a33d0c9d2e5817d6c4617e8f91cb320b39 /library/alloc/tests
parent6134f9f636422abeda9fbc1563f6aa9a5b0b3fdf (diff)
downloadrust-acb09bf741ba439356e824dd10a07054c6656fb6.tar.gz
rust-acb09bf741ba439356e824dd10a07054c6656fb6.zip
update bootstrap configs
Diffstat (limited to 'library/alloc/tests')
-rw-r--r--library/alloc/tests/lib.rs1
-rw-r--r--library/alloc/tests/vec.rs2
2 files changed, 1 insertions, 2 deletions
diff --git a/library/alloc/tests/lib.rs b/library/alloc/tests/lib.rs
index 3ec4332c71b..301126b5d4d 100644
--- a/library/alloc/tests/lib.rs
+++ b/library/alloc/tests/lib.rs
@@ -5,7 +5,6 @@
 #![feature(btree_extract_if)]
 #![feature(cow_is_borrowed)]
 #![feature(const_heap)]
-#![cfg_attr(bootstrap, feature(const_mut_refs))]
 #![feature(const_try)]
 #![feature(core_intrinsics)]
 #![feature(extract_if)]
diff --git a/library/alloc/tests/vec.rs b/library/alloc/tests/vec.rs
index f508a3e4c22..0f27fdff3e1 100644
--- a/library/alloc/tests/vec.rs
+++ b/library/alloc/tests/vec.rs
@@ -1288,7 +1288,7 @@ fn test_from_iter_specialization_panic_during_iteration_drops() {
 #[test]
 #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
 // FIXME(static_mut_refs): Do not allow `static_mut_refs` lint
-#[cfg_attr(not(bootstrap), allow(static_mut_refs))]
+#[allow(static_mut_refs)]
 fn test_from_iter_specialization_panic_during_drop_doesnt_leak() {
     static mut DROP_COUNTER_OLD: [usize; 5] = [0; 5];
     static mut DROP_COUNTER_NEW: [usize; 2] = [0; 2];