summary refs log tree commit diff
path: root/library/std/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/std/src
parent4f1be92153167dfc2a54215bfd49f398c04ce647 (diff)
downloadrust-3175cc2814dfa8a5201fdb165d67cc44300a77f4.tar.gz
rust-3175cc2814dfa8a5201fdb165d67cc44300a77f4.zip
stabilize const_mut_refs
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 60969af3e85..bc5369ddc3d 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -272,6 +272,7 @@
 //
 // Language features:
 // tidy-alphabetical-start
+#![cfg_attr(bootstrap, feature(const_mut_refs))]
 #![feature(alloc_error_handler)]
 #![feature(allocator_internals)]
 #![feature(allow_internal_unsafe)]
@@ -281,7 +282,6 @@
 #![feature(cfg_target_thread_local)]
 #![feature(cfi_encoding)]
 #![feature(concat_idents)]
-#![feature(const_mut_refs)]
 #![feature(decl_macro)]
 #![feature(deprecated_suggestion)]
 #![feature(doc_cfg)]