diff options
| author | Ralf Jung <post@ralfj.de> | 2024-08-17 14:19:34 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-09-15 09:51:32 +0200 |
| commit | 3175cc2814dfa8a5201fdb165d67cc44300a77f4 (patch) | |
| tree | 75fa73cd15e7a002db825abb3dbfeb8f6690df87 /library/alloc/tests | |
| parent | 4f1be92153167dfc2a54215bfd49f398c04ce647 (diff) | |
stabilize const_mut_refs
Diffstat (limited to 'library/alloc/tests')
| -rw-r--r-- | library/alloc/tests/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/tests/lib.rs b/library/alloc/tests/lib.rs index c5c6a122cfe..ffc9a233b66 100644 --- a/library/alloc/tests/lib.rs +++ b/library/alloc/tests/lib.rs @@ -6,7 +6,7 @@ #![feature(cow_is_borrowed)] #![feature(const_cow_is_borrowed)] #![feature(const_heap)] -#![feature(const_mut_refs)] +#![cfg_attr(bootstrap, feature(const_mut_refs))] #![feature(const_slice_from_raw_parts_mut)] #![feature(const_ptr_write)] #![feature(const_try)] |
