Redefine ErrorKind::Other and stop using it in std.

This commit is contained in:
Mara Bos
2021-05-27 14:03:35 +02:00
parent cdbe288897
commit 0b37bb2bc2
24 changed files with 89 additions and 75 deletions

View File

@@ -358,7 +358,7 @@ impl FileAttr {
}))
} else {
Err(io::Error::new_const(
io::ErrorKind::Other,
io::ErrorKind::Unknown,
&"creation time is not available for the filesystem",
))
};