about summary refs log tree commit diff
path: root/library/alloc/tests/lib.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-03-05 18:23:01 +0000
committerMichael Goulet <michael@errs.io>2024-03-08 20:56:25 +0000
commitc63f3feb0fcde0d59004f30ab8f8d2f38da74754 (patch)
tree19efd92b3e468d6e8daad87148b01e1fbda09430 /library/alloc/tests/lib.rs
parenta655e648a9f94d74263108366b83e677af56e35d (diff)
downloadrust-c63f3feb0fcde0d59004f30ab8f8d2f38da74754.tar.gz
rust-c63f3feb0fcde0d59004f30ab8f8d2f38da74754.zip
Stabilize associated type bounds
Diffstat (limited to 'library/alloc/tests/lib.rs')
-rw-r--r--library/alloc/tests/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/tests/lib.rs b/library/alloc/tests/lib.rs
index ed928994ad6..b4c036f1034 100644
--- a/library/alloc/tests/lib.rs
+++ b/library/alloc/tests/lib.rs
@@ -1,3 +1,4 @@
+#![cfg_attr(bootstrap, feature(associated_type_bounds))]
 #![feature(allocator_api)]
 #![feature(alloc_layout_extra)]
 #![feature(iter_array_chunks)]
@@ -21,7 +22,6 @@
 #![feature(trusted_len)]
 #![feature(try_reserve_kind)]
 #![feature(unboxed_closures)]
-#![feature(associated_type_bounds)]
 #![feature(binary_heap_into_iter_sorted)]
 #![feature(binary_heap_drain_sorted)]
 #![feature(slice_ptr_get)]