Skip to content

Commit 66313cb

Browse files
authored
Unrolled build for rust-lang#130209
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
2 parents cdb89d6 + 741d6ef commit 66313cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/io/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ pub enum ErrorKind {
364364
#[stable(feature = "io_error_a_bit_more", since = "1.83.0")]
365365
Deadlock,
366366
/// Cross-device or cross-filesystem (hard) link or rename.
367-
#[unstable(feature = "io_error_more", issue = "86442")]
367+
#[stable(feature = "io_error_crosses_devices", since = "CURRENT_RUSTC_VERSION")]
368368
CrossesDevices,
369369
/// Too many (hard) links to the same filesystem object.
370370
///

0 commit comments

Comments
 (0)