about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2023-05-09 18:20:13 +0300
committerklensy <klensy@users.noreply.github.com>2023-05-09 18:20:13 +0300
commit3c03cce341ef9be288f05e0be3e9fe56100d37ba (patch)
tree48ebf590c9ed95cbfd3b1c2b37e234acb6d4e573 /compiler/rustc_errors/src
parent7e7483d26e3cec7a44ef00cf7ae6c9c8c918bec6 (diff)
downloadrust-3c03cce341ef9be288f05e0be3e9fe56100d37ba.tar.gz
rust-3c03cce341ef9be288f05e0be3e9fe56100d37ba.zip
bump windows crate 0.46 -> 0.48 in workspace
Diffstat (limited to 'compiler/rustc_errors/src')
-rw-r--r--compiler/rustc_errors/src/lock.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_errors/src/lock.rs b/compiler/rustc_errors/src/lock.rs
index 7db262abfde..bd5cf49b56b 100644
--- a/compiler/rustc_errors/src/lock.rs
+++ b/compiler/rustc_errors/src/lock.rs
@@ -19,8 +19,7 @@ pub fn acquire_global_lock(name: &str) -> Box<dyn Any> {
     use windows::{
         core::PCSTR,
         Win32::Foundation::{CloseHandle, HANDLE, WAIT_ABANDONED, WAIT_OBJECT_0},
-        Win32::System::Threading::{CreateMutexA, ReleaseMutex, WaitForSingleObject},
-        Win32::System::WindowsProgramming::INFINITE,
+        Win32::System::Threading::{CreateMutexA, ReleaseMutex, WaitForSingleObject, INFINITE},
     };
 
     struct Handle(HANDLE);