about summary refs log tree commit diff
path: root/compiler/rustc_driver_impl/src/lib.rs
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2024-01-02 22:36:01 +0300
committerklensy <klensy@users.noreply.github.com>2024-01-06 15:01:10 +0300
commit56173611d65bae5eacef80d15799ba89161cd38b (patch)
tree85247dec2ff86031e67815f06849b64be3562536 /compiler/rustc_driver_impl/src/lib.rs
parent5cb2e7dfc362662b0036faad3bab88d73027fd05 (diff)
downloadrust-56173611d65bae5eacef80d15799ba89161cd38b.tar.gz
rust-56173611d65bae5eacef80d15799ba89161cd38b.zip
don't reexport atomic::ordering via rustc_data_structures, use std import
Diffstat (limited to 'compiler/rustc_driver_impl/src/lib.rs')
-rw-r--r--compiler/rustc_driver_impl/src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs
index fd925b62702..3add7e3c643 100644
--- a/compiler/rustc_driver_impl/src/lib.rs
+++ b/compiler/rustc_driver_impl/src/lib.rs
@@ -25,7 +25,6 @@ use rustc_codegen_ssa::{traits::CodegenBackend, CodegenErrors, CodegenResults};
 use rustc_data_structures::profiling::{
     get_resident_set_size, print_time_passes_entry, TimePassesFormat,
 };
-use rustc_data_structures::sync::SeqCst;
 use rustc_errors::registry::{InvalidErrorCode, Registry};
 use rustc_errors::{markdown, ColorConfig};
 use rustc_errors::{DiagCtxt, ErrorGuaranteed, PResult};
@@ -476,7 +475,7 @@ fn run_compiler(
             eprintln!(
                 "Fuel used by {}: {}",
                 sess.opts.unstable_opts.print_fuel.as_ref().unwrap(),
-                sess.print_fuel.load(SeqCst)
+                sess.print_fuel.load(Ordering::SeqCst)
             );
         }