about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-05-12 10:02:12 +0200
committerRalf Jung <post@ralfj.de>2023-05-12 10:02:12 +0200
commit154c7a5e91ff9ebf8ab08d8f7db30ed2070e56a5 (patch)
treed3d8993e7fca57a6930649c863d6f6b37c86a3bf /compiler/rustc_errors/src
parent01937562505363962cf7a5c45a81d82cfe79dd4f (diff)
parent0b795044c6f0854445f1f2bb6443e87848e150d1 (diff)
downloadrust-154c7a5e91ff9ebf8ab08d8f7db30ed2070e56a5.tar.gz
rust-154c7a5e91ff9ebf8ab08d8f7db30ed2070e56a5.zip
Merge from rustc
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);