@@ -131,7 +131,7 @@ impl SocketAddr {
131
131
/// ```
132
132
#[ stable( feature = "ip_addr" , since = "1.7.0" ) ]
133
133
#[ must_use]
134
- #[ rustc_const_unstable( feature = "const_socketaddr" , issue = "none " ) ]
134
+ #[ rustc_const_unstable( feature = "const_socketaddr" , issue = "82485 " ) ]
135
135
pub const fn new ( ip : IpAddr , port : u16 ) -> SocketAddr {
136
136
match ip {
137
137
IpAddr :: V4 ( a) => SocketAddr :: V4 ( SocketAddrV4 :: new ( a, port) ) ,
@@ -278,7 +278,7 @@ impl SocketAddrV4 {
278
278
/// ```
279
279
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
280
280
#[ must_use]
281
- #[ rustc_const_unstable( feature = "const_socketaddr" , issue = "none " ) ]
281
+ #[ rustc_const_unstable( feature = "const_socketaddr" , issue = "82485 " ) ]
282
282
pub const fn new ( ip : Ipv4Addr , port : u16 ) -> SocketAddrV4 {
283
283
SocketAddrV4 { ip, port }
284
284
}
@@ -369,7 +369,7 @@ impl SocketAddrV6 {
369
369
/// ```
370
370
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
371
371
#[ must_use]
372
- #[ rustc_const_unstable( feature = "const_socketaddr" , issue = "none " ) ]
372
+ #[ rustc_const_unstable( feature = "const_socketaddr" , issue = "82485 " ) ]
373
373
pub const fn new ( ip : Ipv6Addr , port : u16 , flowinfo : u32 , scope_id : u32 ) -> SocketAddrV6 {
374
374
SocketAddrV6 { ip, port, flowinfo, scope_id }
375
375
}
0 commit comments