File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2173,7 +2173,8 @@ impl<T: ?Sized> UnsafeCell<T> {
21732173 /// ```
21742174 #[ inline( always) ]
21752175 #[ stable( feature = "unsafe_cell_get_mut" , since = "1.50.0" ) ]
2176- #[ rustc_const_unstable( feature = "const_unsafecell_get_mut" , issue = "88836" ) ]
2176+ #[ cfg_attr( bootstrap, rustc_allow_const_fn_unstable( const_mut_refs) ) ]
2177+ #[ rustc_const_stable( feature = "const_unsafecell_get_mut" , since = "CURRENT_RUSTC_VERSION" ) ]
21772178 pub const fn get_mut ( & mut self ) -> & mut T {
21782179 & mut self . value
21792180 }
Original file line number Diff line number Diff line change 158158#![ feature( const_typed_swap) ]
159159#![ feature( const_ub_checks) ]
160160#![ feature( const_unicode_case_lookup) ]
161- #![ feature( const_unsafecell_get_mut) ]
162161#![ feature( coverage_attribute) ]
163162#![ feature( do_not_recommend) ]
164163#![ feature( duration_consts_float) ]
You can’t perform that action at this time.
0 commit comments