1
Fork 0

don't reexport atomic::ordering via rustc_data_structures, use std import

This commit is contained in:
klensy 2024-01-02 22:36:01 +03:00
parent 5cb2e7dfc3
commit 56173611d6
5 changed files with 13 additions and 19 deletions

View file

@ -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(),
)