about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_data_structures/src/lib.rs58
1 files changed, 29 insertions, 29 deletions
diff --git a/compiler/rustc_data_structures/src/lib.rs b/compiler/rustc_data_structures/src/lib.rs
index 6784c73b790..5ea97827277 100644
--- a/compiler/rustc_data_structures/src/lib.rs
+++ b/compiler/rustc_data_structures/src/lib.rs
@@ -45,62 +45,62 @@
 #[macro_use]
 extern crate tracing;
 
-use std::fmt;
-
+pub use atomic_ref::AtomicRef;
+pub use ena::snapshot_vec;
+pub use ena::undo_log;
+pub use ena::unify;
 pub use rustc_index::static_assert_size;
 
-/// This calls the passed function while ensuring it won't be inlined into the caller.
-#[inline(never)]
-#[cold]
-pub fn outline<F: FnOnce() -> R, R>(f: F) -> R {
-    f()
-}
+use std::fmt;
 
+pub mod aligned;
 pub mod base_n;
 pub mod binary_search_util;
 pub mod captures;
+pub mod fingerprint;
 pub mod flat_map_in_place;
 pub mod flock;
+pub mod frozen;
 pub mod fx;
 pub mod graph;
 pub mod intern;
 pub mod jobserver;
 pub mod macros;
-pub mod obligation_forest;
-pub mod sip128;
-pub mod small_c_str;
-pub mod snapshot_map;
-pub mod svh;
-pub use ena::snapshot_vec;
-mod atomic_ref;
-pub mod fingerprint;
 pub mod marker;
 pub mod memmap;
+pub mod obligation_forest;
+pub mod owned_slice;
+pub mod packed;
 pub mod profiling;
 pub mod sharded;
+pub mod sip128;
+pub mod small_c_str;
+pub mod snapshot_map;
 pub mod sorted_map;
+pub mod sso;
 pub mod stable_hasher;
 pub mod stack;
+pub mod steal;
+pub mod svh;
 pub mod sync;
+pub mod tagged_ptr;
+pub mod temp_dir;
 pub mod tiny_list;
 pub mod transitive_relation;
+pub mod unhash;
+pub mod unord;
 pub mod vec_linked_list;
 pub mod work_queue;
-pub use atomic_ref::AtomicRef;
-pub mod aligned;
-pub mod frozen;
+
+mod atomic_ref;
 mod hashes;
-pub mod owned_slice;
-pub mod packed;
-pub mod sso;
-pub mod steal;
-pub mod tagged_ptr;
-pub mod temp_dir;
-pub mod unhash;
-pub mod unord;
 
-pub use ena::undo_log;
-pub use ena::unify;
+/// This calls the passed function while ensuring it won't be inlined into the caller.
+#[inline(never)]
+#[cold]
+pub fn outline<F: FnOnce() -> R, R>(f: F) -> R {
+    f()
+}
 
 /// Returns a structure that calls `f` when dropped.
 pub fn defer<F: FnOnce()>(f: F) -> OnDrop<F> {