about summary refs log tree commit diff
path: root/library/alloc/src/lib.rs
diff options
context:
space:
mode:
authorRoss Smyth <18294397+RossSmyth@users.noreply.github.com>2024-04-27 20:35:32 -0400
committerRoss Smyth <18294397+RossSmyth@users.noreply.github.com>2024-05-02 19:42:31 -0400
commit6967d1c0fcea4ade223bf3ae443a87d504005cbf (patch)
tree321a882cee7f5b56b14c734c26d1487fd29f6f46 /library/alloc/src/lib.rs
parent79734f1db8dbe322192dea32c0f6b80ab14c4c1d (diff)
downloadrust-6967d1c0fcea4ade223bf3ae443a87d504005cbf.tar.gz
rust-6967d1c0fcea4ade223bf3ae443a87d504005cbf.zip
Stabilize exclusive_range
Diffstat (limited to 'library/alloc/src/lib.rs')
-rw-r--r--library/alloc/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs
index b93936869b3..91b83cfe011 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -165,6 +165,7 @@
 //
 // Language features:
 // tidy-alphabetical-start
+#![cfg_attr(bootstrap, feature(exclusive_range_pattern))]
 #![cfg_attr(not(test), feature(coroutine_trait))]
 #![cfg_attr(test, feature(panic_update_hook))]
 #![cfg_attr(test, feature(test))]
@@ -179,7 +180,6 @@
 #![feature(const_try)]
 #![feature(decl_macro)]
 #![feature(dropck_eyepatch)]
-#![feature(exclusive_range_pattern)]
 #![feature(fundamental)]
 #![feature(hashmap_internals)]
 #![feature(lang_items)]