@@ -180,10 +180,10 @@ pub enum ErrorKind {
180
180
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
181
181
ConnectionReset ,
182
182
/// The remote host is not reachable.
183
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
183
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
184
184
HostUnreachable ,
185
185
/// The network containing the remote host is not reachable.
186
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
186
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
187
187
NetworkUnreachable ,
188
188
/// The connection was aborted (terminated) by the remote server.
189
189
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -200,7 +200,7 @@ pub enum ErrorKind {
200
200
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
201
201
AddrNotAvailable ,
202
202
/// The system's networking is down.
203
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
203
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
204
204
NetworkDown ,
205
205
/// The operation failed because a pipe was closed.
206
206
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -216,18 +216,18 @@ pub enum ErrorKind {
216
216
///
217
217
/// For example, a filesystem path was specified where one of the intermediate directory
218
218
/// components was, in fact, a plain file.
219
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
219
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
220
220
NotADirectory ,
221
221
/// The filesystem object is, unexpectedly, a directory.
222
222
///
223
223
/// A directory was specified when a non-directory was expected.
224
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
224
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
225
225
IsADirectory ,
226
226
/// A non-empty directory was specified where an empty directory was expected.
227
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
227
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
228
228
DirectoryNotEmpty ,
229
229
/// The filesystem or storage medium is read-only, but a write operation was attempted.
230
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
230
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
231
231
ReadOnlyFilesystem ,
232
232
/// Loop in the filesystem or IO subsystem; often, too many levels of symbolic links.
233
233
///
@@ -236,13 +236,13 @@ pub enum ErrorKind {
236
236
///
237
237
/// On Unix this is usually the result of a symbolic link loop; or, of exceeding the
238
238
/// system-specific limit on the depth of symlink traversal.
239
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
239
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
240
240
FilesystemLoop ,
241
241
/// Stale network file handle.
242
242
///
243
243
/// With some network filesystems, notably NFS, an open file (or directory) can be invalidated
244
244
/// by problems with the network or server.
245
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
245
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
246
246
StaleNetworkFileHandle ,
247
247
/// A parameter was incorrect.
248
248
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -276,57 +276,57 @@ pub enum ErrorKind {
276
276
/// The underlying storage (typically, a filesystem) is full.
277
277
///
278
278
/// This does not include out of quota errors.
279
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
279
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
280
280
StorageFull ,
281
281
/// Seek on unseekable file.
282
282
///
283
283
/// Seeking was attempted on an open file handle which is not suitable for seeking - for
284
284
/// example, on Unix, a named pipe opened with `File::open`.
285
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
285
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
286
286
NotSeekable ,
287
287
/// Filesystem quota was exceeded.
288
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
288
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
289
289
FilesystemQuotaExceeded ,
290
290
/// File larger than allowed or supported.
291
291
///
292
292
/// This might arise from a hard limit of the underlying filesystem or file access API, or from
293
293
/// an administratively imposed resource limitation. Simple disk full, and out of quota, have
294
294
/// their own errors.
295
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
295
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
296
296
FileTooLarge ,
297
297
/// Resource is busy.
298
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
298
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
299
299
ResourceBusy ,
300
300
/// Executable file is busy.
301
301
///
302
302
/// An attempt was made to write to a file which is also in use as a running program. (Not all
303
303
/// operating systems detect this situation.)
304
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
304
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
305
305
ExecutableFileBusy ,
306
306
/// Deadlock (avoided).
307
307
///
308
308
/// A file locking operation would result in deadlock. This situation is typically detected, if
309
309
/// at all, on a best-effort basis.
310
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
310
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
311
311
Deadlock ,
312
312
/// Cross-device or cross-filesystem (hard) link or rename.
313
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
313
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
314
314
CrossesDevices ,
315
315
/// Too many (hard) links to the same filesystem object.
316
316
///
317
317
/// The filesystem does not support making so many hardlinks to the same file.
318
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
318
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
319
319
TooManyLinks ,
320
320
/// A filename was invalid.
321
321
///
322
322
/// This error can also cause if it exceeded the filename length limit.
323
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
323
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
324
324
InvalidFilename ,
325
325
/// Program argument list too long.
326
326
///
327
327
/// When trying to run an external program, a system or process limit on the size of the
328
328
/// arguments would have been exceeded.
329
- #[ unstable ( feature = "io_error_more" , issue = "86442 " ) ]
329
+ #[ stable ( feature = "io_error_more" , since = "CURRENT_RUSTC_VERSION " ) ]
330
330
ArgumentListTooLong ,
331
331
/// This operation was interrupted.
332
332
///
0 commit comments