Auto merge of #130179 - workingjubilee:rollup-l78cv44, r=workingjubilee · qinheping/verify-rust-std@4d5609f (original) (raw)
`@@ -223,10 +223,10 @@ pub enum ErrorKind {
`
223
223
`#[stable(feature = "rust1", since = "1.0.0")]
`
224
224
`ConnectionReset,
`
225
225
`/// The remote host is not reachable.
`
226
``
`-
#[unstable(feature = "io_error_more", issue = "86442")]
`
``
226
`+
#[stable(feature = "io_error_a_bit_more", since = "CURRENT_RUSTC_VERSION")]
`
227
227
`HostUnreachable,
`
228
228
`/// The network containing the remote host is not reachable.
`
229
``
`-
#[unstable(feature = "io_error_more", issue = "86442")]
`
``
229
`+
#[stable(feature = "io_error_a_bit_more", since = "CURRENT_RUSTC_VERSION")]
`
230
230
`NetworkUnreachable,
`
231
231
`/// The connection was aborted (terminated) by the remote server.
`
232
232
`#[stable(feature = "rust1", since = "1.0.0")]
`
`@@ -243,7 +243,7 @@ pub enum ErrorKind {
`
243
243
`#[stable(feature = "rust1", since = "1.0.0")]
`
244
244
`AddrNotAvailable,
`
245
245
`/// The system's networking is down.
`
246
``
`-
#[unstable(feature = "io_error_more", issue = "86442")]
`
``
246
`+
#[stable(feature = "io_error_a_bit_more", since = "CURRENT_RUSTC_VERSION")]
`
247
247
`NetworkDown,
`
248
248
`/// The operation failed because a pipe was closed.
`
249
249
`#[stable(feature = "rust1", since = "1.0.0")]
`
`@@ -259,18 +259,18 @@ pub enum ErrorKind {
`
259
259
`///
`
260
260
`/// For example, a filesystem path was specified where one of the intermediate directory
`
261
261
`/// components was, in fact, a plain file.
`
262
``
`-
#[unstable(feature = "io_error_more", issue = "86442")]
`
``
262
`+
#[stable(feature = "io_error_a_bit_more", since = "CURRENT_RUSTC_VERSION")]
`
263
263
`NotADirectory,
`
264
264
`/// The filesystem object is, unexpectedly, a directory.
`
265
265
`///
`
266
266
`/// A directory was specified when a non-directory was expected.
`
267
``
`-
#[unstable(feature = "io_error_more", issue = "86442")]
`
``
267
`+
#[stable(feature = "io_error_a_bit_more", since = "CURRENT_RUSTC_VERSION")]
`
268
268
`IsADirectory,
`
269
269
`/// A non-empty directory was specified where an empty directory was expected.
`
270
``
`-
#[unstable(feature = "io_error_more", issue = "86442")]
`
``
270
`+
#[stable(feature = "io_error_a_bit_more", since = "CURRENT_RUSTC_VERSION")]
`
271
271
`DirectoryNotEmpty,
`
272
272
`/// The filesystem or storage medium is read-only, but a write operation was attempted.
`
273
``
`-
#[unstable(feature = "io_error_more", issue = "86442")]
`
``
273
`+
#[stable(feature = "io_error_a_bit_more", since = "CURRENT_RUSTC_VERSION")]
`
274
274
`ReadOnlyFilesystem,
`
275
275
`/// Loop in the filesystem or IO subsystem; often, too many levels of symbolic links.
`
276
276
`///
`
`@@ -285,7 +285,7 @@ pub enum ErrorKind {
`
285
285
`///
`
286
286
`/// With some network filesystems, notably NFS, an open file (or directory) can be invalidated
`
287
287
`/// by problems with the network or server.
`
288
``
`-
#[unstable(feature = "io_error_more", issue = "86442")]
`
``
288
`+
#[stable(feature = "io_error_a_bit_more", since = "CURRENT_RUSTC_VERSION")]
`
289
289
`StaleNetworkFileHandle,
`
290
290
`/// A parameter was incorrect.
`
291
291
`#[stable(feature = "rust1", since = "1.0.0")]
`
`@@ -319,13 +319,13 @@ pub enum ErrorKind {
`
319
319
`/// The underlying storage (typically, a filesystem) is full.
`
320
320
`///
`
321
321
`/// This does not include out of quota errors.
`
322
``
`-
#[unstable(feature = "io_error_more", issue = "86442")]
`
``
322
`+
#[stable(feature = "io_error_a_bit_more", since = "CURRENT_RUSTC_VERSION")]
`
323
323
`StorageFull,
`
324
324
`/// Seek on unseekable file.
`
325
325
`///
`
326
326
`/// Seeking was attempted on an open file handle which is not suitable for seeking - for
`
327
327
`` /// example, on Unix, a named pipe opened with File::open
.
``
328
``
`-
#[unstable(feature = "io_error_more", issue = "86442")]
`
``
328
`+
#[stable(feature = "io_error_a_bit_more", since = "CURRENT_RUSTC_VERSION")]
`
329
329
`NotSeekable,
`
330
330
`/// Filesystem quota was exceeded.
`
331
331
`#[unstable(feature = "io_error_more", issue = "86442")]
`
`@@ -335,30 +335,30 @@ pub enum ErrorKind {
`
335
335
`/// This might arise from a hard limit of the underlying filesystem or file access API, or from
`
336
336
`/// an administratively imposed resource limitation. Simple disk full, and out of quota, have
`
337
337
`/// their own errors.
`
338
``
`-
#[unstable(feature = "io_error_more", issue = "86442")]
`
``
338
`+
#[stable(feature = "io_error_a_bit_more", since = "CURRENT_RUSTC_VERSION")]
`
339
339
`FileTooLarge,
`
340
340
`/// Resource is busy.
`
341
``
`-
#[unstable(feature = "io_error_more", issue = "86442")]
`
``
341
`+
#[stable(feature = "io_error_a_bit_more", since = "CURRENT_RUSTC_VERSION")]
`
342
342
`ResourceBusy,
`
343
343
`/// Executable file is busy.
`
344
344
`///
`
345
345
`/// An attempt was made to write to a file which is also in use as a running program. (Not all
`
346
346
`/// operating systems detect this situation.)
`
347
``
`-
#[unstable(feature = "io_error_more", issue = "86442")]
`
``
347
`+
#[stable(feature = "io_error_a_bit_more", since = "CURRENT_RUSTC_VERSION")]
`
348
348
`ExecutableFileBusy,
`
349
349
`/// Deadlock (avoided).
`
350
350
`///
`
351
351
`/// A file locking operation would result in deadlock. This situation is typically detected, if
`
352
352
`/// at all, on a best-effort basis.
`
353
``
`-
#[unstable(feature = "io_error_more", issue = "86442")]
`
``
353
`+
#[stable(feature = "io_error_a_bit_more", since = "CURRENT_RUSTC_VERSION")]
`
354
354
`Deadlock,
`
355
355
`/// Cross-device or cross-filesystem (hard) link or rename.
`
356
356
`#[unstable(feature = "io_error_more", issue = "86442")]
`
357
357
`CrossesDevices,
`
358
358
`/// Too many (hard) links to the same filesystem object.
`
359
359
`///
`
360
360
`/// The filesystem does not support making so many hardlinks to the same file.
`
361
``
`-
#[unstable(feature = "io_error_more", issue = "86442")]
`
``
361
`+
#[stable(feature = "io_error_a_bit_more", since = "CURRENT_RUSTC_VERSION")]
`
362
362
`TooManyLinks,
`
363
363
`/// A filename was invalid.
`
364
364
`///
`
`@@ -369,7 +369,7 @@ pub enum ErrorKind {
`
369
369
`///
`
370
370
`/// When trying to run an external program, a system or process limit on the size of the
`
371
371
`/// arguments would have been exceeded.
`
372
``
`-
#[unstable(feature = "io_error_more", issue = "86442")]
`
``
372
`+
#[stable(feature = "io_error_a_bit_more", since = "CURRENT_RUSTC_VERSION")]
`
373
373
`ArgumentListTooLong,
`
374
374
`/// This operation was interrupted.
`
375
375
`///
`