Skip to content

Commit c4e2002

Browse files
Rollup merge of rust-lang#130206 - GrigorenkoPV:WSAEDQUOT, r=ChrisDenton
Map `WSAEDQUOT` to `ErrorKind::FilesystemQuotaExceeded` cc rust-lang#86442 As summarized in rust-lang#130190, there seems to be a consensus that this should be done.
2 parents 8b3e984 + 8f81597 commit c4e2002

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
@@ -139,6 +139,7 @@ pub fn decode_error_kind(errno: i32) -> ErrorKind {
139139
c::WSAEHOSTUNREACH => HostUnreachable,
140140
c::WSAENETDOWN => NetworkDown,
141141
c::WSAENETUNREACH => NetworkUnreachable,
142+
c::WSAEDQUOT => FilesystemQuotaExceeded,
142143

143144
_ => Uncategorized,
144145
}

0 commit comments

Comments
 (0)