Skip to content

Commit e87ccb8

Browse files
committed
Auto merge of rust-lang#119276 - faern:stabilize-ip_in_core, r=dtolnay
Stabilize ip_in_core feature Finally the last stage of rust-lang/rfcs#2832. Since the FCP was [just completed with disposition *merge*](rust-lang#108443 (comment)), I create the stabilization PR for the `ip_in_core` feature. Allowing usage of `core::net` on stable Rust. The error type `core::net::AddrParseError` itself becomes stable with this PR. However, `core::error::Error` is still unstable, so the `Error` impl for this type is not available on stable rust. Simply because `error_in_core` is not stable yet, but that should be fine!
2 parents f736079 + 98899b7 commit e87ccb8

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

library/core/src/net/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//! * [`SocketAddr`] represents socket addresses of either IPv4 or IPv6; [`SocketAddrV4`]
1010
//! and [`SocketAddrV6`] are respectively IPv4 and IPv6 socket addresses
1111
12-
#![unstable(feature = "ip_in_core", issue = "108443")]
12+
#![stable(feature = "ip_in_core", since = "CURRENT_RUSTC_VERSION")]
1313

1414
#[stable(feature = "rust1", since = "1.0.0")]
1515
pub use self::ip_addr::{IpAddr, Ipv4Addr, Ipv6Addr, Ipv6MulticastScope};

library/core/tests/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@
7171
#![feature(slice_internals)]
7272
#![feature(slice_partition_dedup)]
7373
#![feature(ip)]
74-
#![feature(ip_in_core)]
7574
#![feature(iter_advance_by)]
7675
#![feature(iter_array_chunks)]
7776
#![feature(iter_collect_into)]

library/std/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@
325325
#![feature(hasher_prefixfree_extras)]
326326
#![feature(hashmap_internals)]
327327
#![feature(ip)]
328-
#![feature(ip_in_core)]
329328
#![feature(maybe_uninit_slice)]
330329
#![feature(maybe_uninit_uninit_array)]
331330
#![feature(maybe_uninit_write_slice)]

0 commit comments

Comments
 (0)