We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ERROR_INVALID_NAME
InvalidInput
1 parent 56cd04a commit 1115f15Copy full SHA for 1115f15
library/std/src/sys/windows/mod.rs
@@ -71,7 +71,7 @@ pub fn decode_error_kind(errno: i32) -> ErrorKind {
71
c::ERROR_FILE_NOT_FOUND => return NotFound,
72
c::ERROR_PATH_NOT_FOUND => return NotFound,
73
c::ERROR_NO_DATA => return BrokenPipe,
74
- c::ERROR_INVALID_PARAMETER => return InvalidInput,
+ c::ERROR_INVALID_PARAMETER | c::ERROR_INVALID_NAME => return InvalidInput,
75
c::ERROR_NOT_ENOUGH_MEMORY | c::ERROR_OUTOFMEMORY => return OutOfMemory,
76
c::ERROR_SEM_TIMEOUT
77
| c::WAIT_TIMEOUT
0 commit comments