don't reexport atomic::ordering via rustc_data_structures, use std import
This commit is contained in:
parent
5cb2e7dfc3
commit
56173611d6
5 changed files with 13 additions and 19 deletions
|
@ -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(),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue