summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-01-09 13:23:17 +0100
committerGitHub <noreply@github.com>2024-01-09 13:23:17 +0100
commitd3574beb5d96f169f152aad37927d3d3947ce07e (patch)
tree7894f65629c8290eb1a3d4f132331528650ee7f9 /compiler/rustc_query_impl/src
parent5c9a8d7bb563f978865096e79db2ce94c6bb2bbb (diff)
parent56173611d65bae5eacef80d15799ba89161cd38b (diff)
downloadrust-d3574beb5d96f169f152aad37927d3d3947ce07e.tar.gz
rust-d3574beb5d96f169f152aad37927d3d3947ce07e.zip
Rollup merge of #119527 - klensy:ordering, r=compiler-errors
don't reexport atomic::ordering via rustc_data_structures, use std import

This looks simpler.
Diffstat (limited to 'compiler/rustc_query_impl/src')
-rw-r--r--compiler/rustc_query_impl/src/plumbing.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_query_impl/src/plumbing.rs b/compiler/rustc_query_impl/src/plumbing.rs
index 7e0fbf3d76c..a827717d9bb 100644
--- a/compiler/rustc_query_impl/src/plumbing.rs
+++ b/compiler/rustc_query_impl/src/plumbing.rs
@@ -69,7 +69,7 @@ impl QueryContext for QueryCtxt<'_> {
     fn next_job_id(self) -> QueryJobId {
         QueryJobId(
             NonZeroU64::new(
-                self.query_system.jobs.fetch_add(1, rustc_data_structures::sync::Ordering::Relaxed),
+                self.query_system.jobs.fetch_add(1, std::sync::atomic::Ordering::Relaxed),
             )
             .unwrap(),
         )