Skip to content

Commit

Permalink
Unrolled build for rust-lang#130209
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#130209 - GrigorenkoPV:CrossesDevices, r=dtolnay

Stabilize `std::io::ErrorKind::CrossesDevices`

FCP in rust-lang#130191

cc rust-lang#86442

See rust-lang#130191 for more info and a recap of what has happened up until now.

TLDR: This had been FCP'd in December 2022 with some other `ErrorKind`s, but the stabilization got postponed due to some concerns voiced about several of the variants. However, the only concern ever voiced for this variant in particular was a wish to rename this to `NotSameDevice` analogous to Windows's `ERROR_NOT_SAME_DEVICE` (as opposed to Unix's `EXDEV`). This suggestion did not receive any support. So let's try to FCP this as is.

r? libs-api
  • Loading branch information
rust-timer authored Dec 7, 2024
2 parents cdb89d6 + 741d6ef commit 66313cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/io/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ pub enum ErrorKind {
#[stable(feature = "io_error_a_bit_more", since = "1.83.0")]
Deadlock,
/// Cross-device or cross-filesystem (hard) link or rename.
#[unstable(feature = "io_error_more", issue = "86442")]
#[stable(feature = "io_error_crosses_devices", since = "CURRENT_RUSTC_VERSION")]
CrossesDevices,
/// Too many (hard) links to the same filesystem object.
///
Expand Down

0 comments on commit 66313cb

Please sign in to comment.