mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Map ERROR_CANT_RESOLVE_FILENAME
to ErrorKind::FilesystemLoop
This commit is contained in:
parent
33855f80d4
commit
49b3df9245
@ -122,6 +122,7 @@ pub fn decode_error_kind(errno: i32) -> ErrorKind {
|
||||
c::ERROR_NOT_SAME_DEVICE => return CrossesDevices,
|
||||
c::ERROR_TOO_MANY_LINKS => return TooManyLinks,
|
||||
c::ERROR_FILENAME_EXCED_RANGE => return InvalidFilename,
|
||||
c::ERROR_CANT_RESOLVE_FILENAME => return FilesystemLoop,
|
||||
_ => {}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user