Skip to content

Commit

Permalink
Map ERROR_CANT_RESOLVE_FILENAME to ErrorKind::FilesystemLoop
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigorenkoPV committed Sep 10, 2024
1 parent 33855f8 commit 49b3df9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/std/src/sys/pal/windows/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
_ => {}
}

Expand Down

0 comments on commit 49b3df9

Please sign in to comment.