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