Skip to content

Commit 78cf023

Browse files
authored
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.
2 parents e68dadb + 49b3df9 commit 78cf023

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)