Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions library/core/src/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ pub use self::error::const_error;
#[unstable(feature = "core_io", issue = "154046")]
pub use self::{
cursor::Cursor,
error::{Error, ErrorKind, Result},
io_slice::{IoSlice, IoSliceMut},
seek::{Seek, SeekFrom},
util::{Chain, Empty, Repeat, Sink, Take, empty, repeat, sink},
write::Write,
Expand All @@ -42,6 +40,11 @@ pub use self::{
util::{chain, take},
write::default_write_vectored,
};
#[stable(feature = "core_io_fundamentals", since = "CURRENT_RUSTC_VERSION")]
pub use self::{
error::{Error, ErrorKind, Result},
io_slice::{IoSlice, IoSliceMut},
};

/// Marks that a type `T` can have IO traits such as [`Seek`], [`Write`], etc. automatically
/// implemented for handle types like [`Arc`][arc] as well.
Expand Down
2 changes: 1 addition & 1 deletion library/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ pub mod bstr;
pub mod cell;
pub mod char;
pub mod ffi;
#[unstable(feature = "core_io", issue = "154046")]
#[stable(feature = "core_io_fundamentals", since = "CURRENT_RUSTC_VERSION")]
pub mod io;
pub mod iter;
pub mod net;
Expand Down
1 change: 0 additions & 1 deletion library/coretests/tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#![feature(const_unsigned_bigint_helpers)]
#![feature(core_intrinsics)]
#![feature(core_intrinsics_fallbacks)]
#![feature(core_io)]
#![feature(core_io_borrowed_buf)]
#![feature(core_private_bignum)]
#![feature(core_private_diy_float)]
Expand Down
12 changes: 0 additions & 12 deletions tests/ui/feature-gates/feature-gate-io_error_kind_in_core.rs

This file was deleted.

13 changes: 0 additions & 13 deletions tests/ui/feature-gates/feature-gate-io_error_kind_in_core.stderr

This file was deleted.

Loading