@@ -1254,7 +1254,7 @@ impl<T, A: Allocator> Vec<T, A> {
12541254     /// ``` 
12551255     #[ inline]  
12561256    #[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
1257-     #[ rustc_const_unstable ( feature = "const_vec_string_slice" ,  issue  = "129041 " ) ]  
1257+     #[ rustc_const_stable ( feature = "const_vec_string_slice" ,  since  = "CURRENT_RUSTC_VERSION " ) ]  
12581258    pub  const  fn  capacity ( & self )  -> usize  { 
12591259        self . buf . capacity ( ) 
12601260    } 
@@ -1569,7 +1569,7 @@ impl<T, A: Allocator> Vec<T, A> {
15691569     #[ inline]  
15701570    #[ stable( feature = "vec_as_slice" ,  since = "1.7.0" ) ]  
15711571    #[ rustc_diagnostic_item = "vec_as_slice" ]  
1572-     #[ rustc_const_unstable ( feature = "const_vec_string_slice" ,  issue  = "129041 " ) ]  
1572+     #[ rustc_const_stable ( feature = "const_vec_string_slice" ,  since  = "CURRENT_RUSTC_VERSION " ) ]  
15731573    pub  const  fn  as_slice ( & self )  -> & [ T ]  { 
15741574        // SAFETY: `slice::from_raw_parts` requires pointee is a contiguous, aligned buffer of size 
15751575        // `len` containing properly-initialized `T`s. Data must not be mutated for the returned 
@@ -1601,7 +1601,7 @@ impl<T, A: Allocator> Vec<T, A> {
16011601     #[ inline]  
16021602    #[ stable( feature = "vec_as_slice" ,  since = "1.7.0" ) ]  
16031603    #[ rustc_diagnostic_item = "vec_as_mut_slice" ]  
1604-     #[ rustc_const_unstable ( feature = "const_vec_string_slice" ,  issue  = "129041 " ) ]  
1604+     #[ rustc_const_stable ( feature = "const_vec_string_slice" ,  since  = "CURRENT_RUSTC_VERSION " ) ]  
16051605    pub  const  fn  as_mut_slice ( & mut  self )  -> & mut  [ T ]  { 
16061606        // SAFETY: `slice::from_raw_parts_mut` requires pointee is a contiguous, aligned buffer of 
16071607        // size `len` containing properly-initialized `T`s. Data must not be accessed through any 
@@ -1673,7 +1673,7 @@ impl<T, A: Allocator> Vec<T, A> {
16731673     /// [`as_ptr`]: Vec::as_ptr 
16741674     /// [`as_non_null`]: Vec::as_non_null 
16751675     #[ stable( feature = "vec_as_ptr" ,  since = "1.37.0" ) ]  
1676-     #[ rustc_const_unstable ( feature = "const_vec_string_slice" ,  issue  = "129041 " ) ]  
1676+     #[ rustc_const_stable ( feature = "const_vec_string_slice" ,  since  = "CURRENT_RUSTC_VERSION " ) ]  
16771677    #[ rustc_never_returns_null_ptr]  
16781678    #[ rustc_as_ptr]  
16791679    #[ inline]  
@@ -1736,7 +1736,7 @@ impl<T, A: Allocator> Vec<T, A> {
17361736     /// [`as_ptr`]: Vec::as_ptr 
17371737     /// [`as_non_null`]: Vec::as_non_null 
17381738     #[ stable( feature = "vec_as_ptr" ,  since = "1.37.0" ) ]  
1739-     #[ rustc_const_unstable ( feature = "const_vec_string_slice" ,  issue  = "129041 " ) ]  
1739+     #[ rustc_const_stable ( feature = "const_vec_string_slice" ,  since  = "CURRENT_RUSTC_VERSION " ) ]  
17401740    #[ rustc_never_returns_null_ptr]  
17411741    #[ rustc_as_ptr]  
17421742    #[ inline]  
@@ -2687,7 +2687,7 @@ impl<T, A: Allocator> Vec<T, A> {
26872687     /// ``` 
26882688     #[ inline]  
26892689    #[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
2690-     #[ rustc_const_unstable ( feature = "const_vec_string_slice" ,  issue  = "129041 " ) ]  
2690+     #[ rustc_const_stable ( feature = "const_vec_string_slice" ,  since  = "CURRENT_RUSTC_VERSION " ) ]  
26912691    #[ rustc_confusables( "length" ,  "size" ) ]  
26922692    pub  const  fn  len ( & self )  -> usize  { 
26932693        let  len = self . len ; 
@@ -2713,7 +2713,7 @@ impl<T, A: Allocator> Vec<T, A> {
27132713     /// ``` 
27142714     #[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
27152715    #[ rustc_diagnostic_item = "vec_is_empty" ]  
2716-     #[ rustc_const_unstable ( feature = "const_vec_string_slice" ,  issue  = "129041 " ) ]  
2716+     #[ rustc_const_stable ( feature = "const_vec_string_slice" ,  since  = "CURRENT_RUSTC_VERSION " ) ]  
27172717    pub  const  fn  is_empty ( & self )  -> bool  { 
27182718        self . len ( )  == 0 
27192719    } 
0 commit comments