]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_query_system/src/query/job.rs
Rollup merge of #105539 - GuillaumeGomez:hashtag-prepended-lines-non-rust, r=notriddle
[rust.git] / compiler / rustc_query_system / src / query / job.rs
index 49bbcf57804596623ed30642d0d837d5ba1ca8af..701bbde6ad23f92d89169ce3aa3e3c7bc278685c 100644 (file)
@@ -22,8 +22,8 @@
     rustc_data_structures::{jobserver, OnDrop},
     rustc_rayon_core as rayon_core,
     rustc_span::DUMMY_SP,
-    std::iter::{self, FromIterator},
-    std::{mem, process},
+    std::iter,
+    std::process,
 };
 
 /// Represents a span and a query key.
@@ -247,7 +247,7 @@ fn wait_on_inner(&self, waiter: &Lrc<QueryWaiter>) {
             jobserver::release_thread();
             waiter.condvar.wait(&mut info);
             // Release the lock before we potentially block in `acquire_thread`
-            mem::drop(info);
+            drop(info);
             jobserver::acquire_thread();
         }
     }