Rollup merge of #130207 - GrigorenkoPV:ERROR_CANT_RESOLVE_FILENAME, r=ChrisDenton
Map `ERROR_CANT_RESOLVE_FILENAME` to `ErrorKind::FilesystemLoop` cc #86442 As summarized in #130188, there seems to be a consensus that this should be done.
This commit is contained in:
commit
78cf023d8c
@ -122,6 +122,7 @@ pub fn decode_error_kind(errno: i32) -> ErrorKind {
|
|||||||
c::ERROR_NOT_SAME_DEVICE => return CrossesDevices,
|
c::ERROR_NOT_SAME_DEVICE => return CrossesDevices,
|
||||||
c::ERROR_TOO_MANY_LINKS => return TooManyLinks,
|
c::ERROR_TOO_MANY_LINKS => return TooManyLinks,
|
||||||
c::ERROR_FILENAME_EXCED_RANGE => return InvalidFilename,
|
c::ERROR_FILENAME_EXCED_RANGE => return InvalidFilename,
|
||||||
|
c::ERROR_CANT_RESOLVE_FILENAME => return FilesystemLoop,
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user