@@ -233,7 +233,7 @@ impl str {
233233 /// assert_eq!("💖", sparkle_heart);
234234 /// ```
235235 #[ unstable( feature = "inherent_str_constructors" , issue = "131114" ) ]
236- #[ rustc_const_stable ( feature = "const_str_from_utf8_shared " , since = "1.63.0 " ) ]
236+ #[ rustc_const_unstable ( feature = "inherent_str_constructors " , issue = "131114 " ) ]
237237 #[ rustc_allow_const_fn_unstable( str_internals) ]
238238 #[ rustc_diagnostic_item = "str_from_utf8" ]
239239 pub const fn from_utf8 ( v : & [ u8 ] ) -> Result < & str , Utf8Error > {
@@ -278,7 +278,7 @@ impl str {
278278 /// See the docs for [`Utf8Error`] for more details on the kinds of
279279 /// errors that can be returned.
280280 #[ unstable( feature = "inherent_str_constructors" , issue = "131114" ) ]
281- #[ rustc_const_unstable( feature = "const_str_from_utf8 " , issue = "91006 " ) ]
281+ #[ rustc_const_unstable( feature = "inherent_str_constructors " , issue = "131114 " ) ]
282282 #[ rustc_diagnostic_item = "str_from_utf8_mut" ]
283283 pub const fn from_utf8_mut ( v : & mut [ u8 ] ) -> Result < & mut str , Utf8Error > {
284284 // FIXME(const-hack): This should use `?` again, once it's `const`
@@ -319,7 +319,7 @@ impl str {
319319 #[ inline]
320320 #[ must_use]
321321 #[ unstable( feature = "inherent_str_constructors" , issue = "131114" ) ]
322- #[ rustc_const_stable ( feature = "const_str_from_utf8_unchecked " , since = "1.55.0 " ) ]
322+ #[ rustc_const_unstable ( feature = "inherent_str_constructors " , issue = "131114 " ) ]
323323 #[ rustc_diagnostic_item = "str_from_utf8_unchecked" ]
324324 pub const unsafe fn from_utf8_unchecked ( v : & [ u8 ] ) -> & str {
325325 // SAFETY: the caller must guarantee that the bytes `v` are valid UTF-8.
@@ -347,7 +347,7 @@ impl str {
347347 #[ inline]
348348 #[ must_use]
349349 #[ unstable( feature = "inherent_str_constructors" , issue = "131114" ) ]
350- #[ rustc_const_unstable( feature = "const_str_from_utf8_unchecked_mut " , issue = "91005 " ) ]
350+ #[ rustc_const_unstable( feature = "inherent_str_constructors " , issue = "131114 " ) ]
351351 #[ rustc_diagnostic_item = "str_from_utf8_unchecked_mut" ]
352352 pub const unsafe fn from_utf8_unchecked_mut ( v : & mut [ u8 ] ) -> & mut str {
353353 // SAFETY: the caller must guarantee that the bytes `v`
0 commit comments