@@ -1089,7 +1089,7 @@ impl fmt::Debug for IpAddr {
10891089}
10901090
10911091#[ stable( feature = "ip_from_ip" , since = "1.16.0" ) ]
1092- #[ rustc_const_unstable( feature = "const_trait_impl " , issue = "67792 " ) ]
1092+ #[ rustc_const_unstable( feature = "const_try " , issue = "74935 " ) ]
10931093impl const From < Ipv4Addr > for IpAddr {
10941094 /// Copies this address to a new `IpAddr::V4`.
10951095 ///
@@ -1112,7 +1112,7 @@ impl const From<Ipv4Addr> for IpAddr {
11121112}
11131113
11141114#[ stable( feature = "ip_from_ip" , since = "1.16.0" ) ]
1115- #[ rustc_const_unstable( feature = "const_trait_impl " , issue = "67792 " ) ]
1115+ #[ rustc_const_unstable( feature = "const_try " , issue = "74935 " ) ]
11161116impl const From < Ipv6Addr > for IpAddr {
11171117 /// Copies this address to a new `IpAddr::V6`.
11181118 ///
@@ -1223,7 +1223,7 @@ impl Ord for Ipv4Addr {
12231223}
12241224
12251225#[ stable( feature = "ip_u32" , since = "1.1.0" ) ]
1226- #[ rustc_const_unstable( feature = "const_trait_impl " , issue = "67792 " ) ]
1226+ #[ rustc_const_unstable( feature = "const_try " , issue = "74935 " ) ]
12271227impl const From < Ipv4Addr > for u32 {
12281228 /// Uses [`Ipv4Addr::to_bits`] to convert an IPv4 address to a host byte order `u32`.
12291229 #[ inline]
@@ -1233,7 +1233,7 @@ impl const From<Ipv4Addr> for u32 {
12331233}
12341234
12351235#[ stable( feature = "ip_u32" , since = "1.1.0" ) ]
1236- #[ rustc_const_unstable( feature = "const_trait_impl " , issue = "67792 " ) ]
1236+ #[ rustc_const_unstable( feature = "const_try " , issue = "74935 " ) ]
12371237impl const From < u32 > for Ipv4Addr {
12381238 /// Uses [`Ipv4Addr::from_bits`] to convert a host byte order `u32` into an IPv4 address.
12391239 #[ inline]
@@ -1243,7 +1243,7 @@ impl const From<u32> for Ipv4Addr {
12431243}
12441244
12451245#[ stable( feature = "from_slice_v4" , since = "1.9.0" ) ]
1246- #[ rustc_const_unstable( feature = "const_trait_impl " , issue = "67792 " ) ]
1246+ #[ rustc_const_unstable( feature = "const_try " , issue = "74935 " ) ]
12471247impl const From < [ u8 ; 4 ] > for Ipv4Addr {
12481248 /// Creates an `Ipv4Addr` from a four element byte array.
12491249 ///
@@ -1262,7 +1262,7 @@ impl const From<[u8; 4]> for Ipv4Addr {
12621262}
12631263
12641264#[ stable( feature = "ip_from_slice" , since = "1.17.0" ) ]
1265- #[ rustc_const_unstable( feature = "const_trait_impl " , issue = "67792 " ) ]
1265+ #[ rustc_const_unstable( feature = "const_try " , issue = "74935 " ) ]
12661266impl const From < [ u8 ; 4 ] > for IpAddr {
12671267 /// Creates an `IpAddr::V4` from a four element byte array.
12681268 ///
@@ -2217,7 +2217,7 @@ impl Ord for Ipv6Addr {
22172217}
22182218
22192219#[ stable( feature = "i128" , since = "1.26.0" ) ]
2220- #[ rustc_const_unstable( feature = "const_trait_impl " , issue = "67792 " ) ]
2220+ #[ rustc_const_unstable( feature = "const_try " , issue = "74935 " ) ]
22212221impl const From < Ipv6Addr > for u128 {
22222222 /// Uses [`Ipv6Addr::to_bits`] to convert an IPv6 address to a host byte order `u128`.
22232223 #[ inline]
@@ -2226,7 +2226,7 @@ impl const From<Ipv6Addr> for u128 {
22262226 }
22272227}
22282228#[ stable( feature = "i128" , since = "1.26.0" ) ]
2229- #[ rustc_const_unstable( feature = "const_trait_impl " , issue = "67792 " ) ]
2229+ #[ rustc_const_unstable( feature = "const_try " , issue = "74935 " ) ]
22302230impl const From < u128 > for Ipv6Addr {
22312231 /// Uses [`Ipv6Addr::from_bits`] to convert a host byte order `u128` to an IPv6 address.
22322232 #[ inline]
@@ -2236,7 +2236,7 @@ impl const From<u128> for Ipv6Addr {
22362236}
22372237
22382238#[ stable( feature = "ipv6_from_octets" , since = "1.9.0" ) ]
2239- #[ rustc_const_unstable( feature = "const_trait_impl " , issue = "67792 " ) ]
2239+ #[ rustc_const_unstable( feature = "const_try " , issue = "74935 " ) ]
22402240impl const From < [ u8 ; 16 ] > for Ipv6Addr {
22412241 /// Creates an `Ipv6Addr` from a sixteen element byte array.
22422242 ///
@@ -2264,7 +2264,7 @@ impl const From<[u8; 16]> for Ipv6Addr {
22642264}
22652265
22662266#[ stable( feature = "ipv6_from_segments" , since = "1.16.0" ) ]
2267- #[ rustc_const_unstable( feature = "const_trait_impl " , issue = "67792 " ) ]
2267+ #[ rustc_const_unstable( feature = "const_try " , issue = "74935 " ) ]
22682268impl const From < [ u16 ; 8 ] > for Ipv6Addr {
22692269 /// Creates an `Ipv6Addr` from an eight element 16-bit array.
22702270 ///
@@ -2293,7 +2293,7 @@ impl const From<[u16; 8]> for Ipv6Addr {
22932293}
22942294
22952295#[ stable( feature = "ip_from_slice" , since = "1.17.0" ) ]
2296- #[ rustc_const_unstable( feature = "const_trait_impl " , issue = "67792 " ) ]
2296+ #[ rustc_const_unstable( feature = "const_try " , issue = "74935 " ) ]
22972297impl const From < [ u8 ; 16 ] > for IpAddr {
22982298 /// Creates an `IpAddr::V6` from a sixteen element byte array.
22992299 ///
@@ -2321,7 +2321,7 @@ impl const From<[u8; 16]> for IpAddr {
23212321}
23222322
23232323#[ stable( feature = "ip_from_slice" , since = "1.17.0" ) ]
2324- #[ rustc_const_unstable( feature = "const_trait_impl " , issue = "67792 " ) ]
2324+ #[ rustc_const_unstable( feature = "const_try " , issue = "74935 " ) ]
23252325impl const From < [ u16 ; 8 ] > for IpAddr {
23262326 /// Creates an `IpAddr::V6` from an eight element 16-bit array.
23272327 ///
0 commit comments