diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-12-06 21:21:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-06 21:21:03 +0100 |
| commit | 14710ec4edeb0abccb4aa8248ab18508b18e32de (patch) | |
| tree | 9ee31d4aedf1f829a522e43e2ea8586da4d46685 /library/std/src | |
| parent | cdeddae4f6f0934d9cc895fe1cacccba78ff1981 (diff) | |
| parent | 741d6ef17e7ee4a77c9fbc73ea92878d2a6e58ab (diff) | |
| download | rust-14710ec4edeb0abccb4aa8248ab18508b18e32de.tar.gz rust-14710ec4edeb0abccb4aa8248ab18508b18e32de.zip | |
Rollup merge of #130209 - GrigorenkoPV:CrossesDevices, r=dtolnay
Stabilize `std::io::ErrorKind::CrossesDevices` FCP in #130191 cc #86442 See #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
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/io/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/io/error.rs b/library/std/src/io/error.rs index 03f38e220a5..7322cbe79bc 100644 --- a/library/std/src/io/error.rs +++ b/library/std/src/io/error.rs @@ -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. /// |
