diff options
| author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2021-06-18 18:16:05 +0100 |
|---|---|---|
| committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2021-06-18 18:51:47 +0100 |
| commit | e7fb1a71cd71cb7a188807293f5325775f704bd5 (patch) | |
| tree | 47dc94ce746117e04f0cef20ff937a3dbf8d03e1 | |
| parent | 2a38dfbe047f305dcec7108e0a096fb36dac9b08 (diff) | |
| download | rust-e7fb1a71cd71cb7a188807293f5325775f704bd5.tar.gz rust-e7fb1a71cd71cb7a188807293f5325775f704bd5.zip | |
windows errors: Change type name for ERROR_SHARING_VIOLATION
DWORD is a type alias for u32, so this makes no difference. But this entry is anomalous and in my forthcoming commits I am going to import many errors wholesale, and I spotted that my wholesale import didn't match what was here. CC: Chris Denton <christophersdenton@gmail.com> Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
| -rw-r--r-- | library/std/src/sys/windows/c.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/windows/c.rs b/library/std/src/sys/windows/c.rs index b7efc884473..acef20a7544 100644 --- a/library/std/src/sys/windows/c.rs +++ b/library/std/src/sys/windows/c.rs @@ -173,7 +173,7 @@ pub const ERROR_INVALID_HANDLE: DWORD = 6; pub const ERROR_NOT_ENOUGH_MEMORY: DWORD = 8; pub const ERROR_OUTOFMEMORY: DWORD = 14; pub const ERROR_NO_MORE_FILES: DWORD = 18; -pub const ERROR_SHARING_VIOLATION: u32 = 32; +pub const ERROR_SHARING_VIOLATION: DWORD = 32; pub const ERROR_HANDLE_EOF: DWORD = 38; pub const ERROR_FILE_EXISTS: DWORD = 80; pub const ERROR_INVALID_PARAMETER: DWORD = 87; |
