@@ -1258,7 +1258,7 @@ impl<T, A: Allocator> Vec<T, A> {
12581258 /// [`as_mut_ptr`]: Vec::as_mut_ptr
12591259 /// [`as_ptr`]: Vec::as_ptr
12601260 #[ stable( feature = "vec_as_ptr" , since = "1.37.0" ) ]
1261- #[ cfg_attr ( not ( bootstrap ) , rustc_never_returns_null_ptr) ]
1261+ #[ rustc_never_returns_null_ptr]
12621262 #[ inline]
12631263 pub fn as_ptr ( & self ) -> * const T {
12641264 // We shadow the slice method of the same name to avoid going through
@@ -1318,7 +1318,7 @@ impl<T, A: Allocator> Vec<T, A> {
13181318 /// [`as_mut_ptr`]: Vec::as_mut_ptr
13191319 /// [`as_ptr`]: Vec::as_ptr
13201320 #[ stable( feature = "vec_as_ptr" , since = "1.37.0" ) ]
1321- #[ cfg_attr ( not ( bootstrap ) , rustc_never_returns_null_ptr) ]
1321+ #[ rustc_never_returns_null_ptr]
13221322 #[ inline]
13231323 pub fn as_mut_ptr ( & mut self ) -> * mut T {
13241324 // We shadow the slice method of the same name to avoid going through
@@ -3155,7 +3155,7 @@ impl<T: Clone> From<&mut [T]> for Vec<T> {
31553155}
31563156
31573157#[ cfg( not( no_global_oom_handling) ) ]
3158- #[ stable( feature = "vec_from_array_ref" , since = "CURRENT_RUSTC_VERSION " ) ]
3158+ #[ stable( feature = "vec_from_array_ref" , since = "1.74.0 " ) ]
31593159impl < T : Clone , const N : usize > From < & [ T ; N ] > for Vec < T > {
31603160 /// Allocate a `Vec<T>` and fill it by cloning `s`'s items.
31613161 ///
@@ -3170,7 +3170,7 @@ impl<T: Clone, const N: usize> From<&[T; N]> for Vec<T> {
31703170}
31713171
31723172#[ cfg( not( no_global_oom_handling) ) ]
3173- #[ stable( feature = "vec_from_array_ref" , since = "CURRENT_RUSTC_VERSION " ) ]
3173+ #[ stable( feature = "vec_from_array_ref" , since = "1.74.0 " ) ]
31743174impl < T : Clone , const N : usize > From < & mut [ T ; N ] > for Vec < T > {
31753175 /// Allocate a `Vec<T>` and fill it by cloning `s`'s items.
31763176 ///
0 commit comments