@@ -1089,7 +1089,7 @@ impl fmt::Debug for IpAddr {
1089
1089
}
1090
1090
1091
1091
#[ 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 " ) ]
1093
1093
impl const From < Ipv4Addr > for IpAddr {
1094
1094
/// Copies this address to a new `IpAddr::V4`.
1095
1095
///
@@ -1112,7 +1112,7 @@ impl const From<Ipv4Addr> for IpAddr {
1112
1112
}
1113
1113
1114
1114
#[ 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 " ) ]
1116
1116
impl const From < Ipv6Addr > for IpAddr {
1117
1117
/// Copies this address to a new `IpAddr::V6`.
1118
1118
///
@@ -1223,7 +1223,7 @@ impl Ord for Ipv4Addr {
1223
1223
}
1224
1224
1225
1225
#[ 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 " ) ]
1227
1227
impl const From < Ipv4Addr > for u32 {
1228
1228
/// Uses [`Ipv4Addr::to_bits`] to convert an IPv4 address to a host byte order `u32`.
1229
1229
#[ inline]
@@ -1233,7 +1233,7 @@ impl const From<Ipv4Addr> for u32 {
1233
1233
}
1234
1234
1235
1235
#[ 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 " ) ]
1237
1237
impl const From < u32 > for Ipv4Addr {
1238
1238
/// Uses [`Ipv4Addr::from_bits`] to convert a host byte order `u32` into an IPv4 address.
1239
1239
#[ inline]
@@ -1243,7 +1243,7 @@ impl const From<u32> for Ipv4Addr {
1243
1243
}
1244
1244
1245
1245
#[ 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 " ) ]
1247
1247
impl const From < [ u8 ; 4 ] > for Ipv4Addr {
1248
1248
/// Creates an `Ipv4Addr` from a four element byte array.
1249
1249
///
@@ -1262,7 +1262,7 @@ impl const From<[u8; 4]> for Ipv4Addr {
1262
1262
}
1263
1263
1264
1264
#[ 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 " ) ]
1266
1266
impl const From < [ u8 ; 4 ] > for IpAddr {
1267
1267
/// Creates an `IpAddr::V4` from a four element byte array.
1268
1268
///
@@ -2217,7 +2217,7 @@ impl Ord for Ipv6Addr {
2217
2217
}
2218
2218
2219
2219
#[ 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 " ) ]
2221
2221
impl const From < Ipv6Addr > for u128 {
2222
2222
/// Uses [`Ipv6Addr::to_bits`] to convert an IPv6 address to a host byte order `u128`.
2223
2223
#[ inline]
@@ -2226,7 +2226,7 @@ impl const From<Ipv6Addr> for u128 {
2226
2226
}
2227
2227
}
2228
2228
#[ 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 " ) ]
2230
2230
impl const From < u128 > for Ipv6Addr {
2231
2231
/// Uses [`Ipv6Addr::from_bits`] to convert a host byte order `u128` to an IPv6 address.
2232
2232
#[ inline]
@@ -2236,7 +2236,7 @@ impl const From<u128> for Ipv6Addr {
2236
2236
}
2237
2237
2238
2238
#[ 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 " ) ]
2240
2240
impl const From < [ u8 ; 16 ] > for Ipv6Addr {
2241
2241
/// Creates an `Ipv6Addr` from a sixteen element byte array.
2242
2242
///
@@ -2264,7 +2264,7 @@ impl const From<[u8; 16]> for Ipv6Addr {
2264
2264
}
2265
2265
2266
2266
#[ 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 " ) ]
2268
2268
impl const From < [ u16 ; 8 ] > for Ipv6Addr {
2269
2269
/// Creates an `Ipv6Addr` from an eight element 16-bit array.
2270
2270
///
@@ -2293,7 +2293,7 @@ impl const From<[u16; 8]> for Ipv6Addr {
2293
2293
}
2294
2294
2295
2295
#[ 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 " ) ]
2297
2297
impl const From < [ u8 ; 16 ] > for IpAddr {
2298
2298
/// Creates an `IpAddr::V6` from a sixteen element byte array.
2299
2299
///
@@ -2321,7 +2321,7 @@ impl const From<[u8; 16]> for IpAddr {
2321
2321
}
2322
2322
2323
2323
#[ 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 " ) ]
2325
2325
impl const From < [ u16 ; 8 ] > for IpAddr {
2326
2326
/// Creates an `IpAddr::V6` from an eight element 16-bit array.
2327
2327
///
0 commit comments