about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-08-17 14:19:34 +0200
committerRalf Jung <post@ralfj.de>2024-09-15 09:51:32 +0200
commit3175cc2814dfa8a5201fdb165d67cc44300a77f4 (patch)
tree75fa73cd15e7a002db825abb3dbfeb8f6690df87 /library/alloc/src
parent4f1be92153167dfc2a54215bfd49f398c04ce647 (diff)
downloadrust-3175cc2814dfa8a5201fdb165d67cc44300a77f4.tar.gz
rust-3175cc2814dfa8a5201fdb165d67cc44300a77f4.zip
stabilize const_mut_refs
Diffstat (limited to 'library/alloc/src')
-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 7aaa4e73df7..a67ea75825d 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -164,13 +164,13 @@
 //
 // Language features:
 // tidy-alphabetical-start
+#![cfg_attr(bootstrap, feature(const_mut_refs))]
 #![cfg_attr(not(test), feature(coroutine_trait))]
 #![cfg_attr(test, feature(panic_update_hook))]
 #![cfg_attr(test, feature(test))]
 #![feature(allocator_internals)]
 #![feature(allow_internal_unstable)]
 #![feature(cfg_sanitize)]
-#![feature(const_mut_refs)]
 #![feature(const_precise_live_drops)]
 #![feature(const_ptr_write)]
 #![feature(const_try)]