Skip to content

Commit 49b3df9

Browse files
committed
Map ERROR_CANT_RESOLVE_FILENAME to ErrorKind::FilesystemLoop
1 parent 33855f8 commit 49b3df9

File tree

1 file changed

+1
-0
lines changed
  • library/std/src/sys/pal/windows

1 file changed

+1
-0
lines changed

library/std/src/sys/pal/windows/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ pub fn decode_error_kind(errno: i32) -> ErrorKind {
122122
c::ERROR_NOT_SAME_DEVICE => return CrossesDevices,
123123
c::ERROR_TOO_MANY_LINKS => return TooManyLinks,
124124
c::ERROR_FILENAME_EXCED_RANGE => return InvalidFilename,
125+
c::ERROR_CANT_RESOLVE_FILENAME => return FilesystemLoop,
125126
_ => {}
126127
}
127128

0 commit comments

Comments
 (0)