File tree 2 files changed +2
-2
lines changed
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> {
2173
2173
/// ```
2174
2174
#[ inline( always) ]
2175
2175
#[ 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" ) ]
2177
2178
pub const fn get_mut ( & mut self ) -> & mut T {
2178
2179
& mut self . value
2179
2180
}
Original file line number Diff line number Diff line change 158
158
#![ feature( const_typed_swap) ]
159
159
#![ feature( const_ub_checks) ]
160
160
#![ feature( const_unicode_case_lookup) ]
161
- #![ feature( const_unsafecell_get_mut) ]
162
161
#![ feature( coverage_attribute) ]
163
162
#![ feature( do_not_recommend) ]
164
163
#![ feature( duration_consts_float) ]
You can’t perform that action at this time.
0 commit comments