This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +29
-29
lines changed
compiler/rustc_data_structures/src Expand file tree Collapse file tree 1 file changed +29
-29
lines changed Original file line number Diff line number Diff line change 4545#[ macro_use]
4646extern crate tracing;
4747
48- use std:: fmt;
49-
48+ pub use atomic_ref:: AtomicRef ;
49+ pub use ena:: snapshot_vec;
50+ pub use ena:: undo_log;
51+ pub use ena:: unify;
5052pub use rustc_index:: static_assert_size;
5153
52- /// This calls the passed function while ensuring it won't be inlined into the caller.
53- #[ inline( never) ]
54- #[ cold]
55- pub fn outline < F : FnOnce ( ) -> R , R > ( f : F ) -> R {
56- f ( )
57- }
54+ use std:: fmt;
5855
56+ pub mod aligned;
5957pub mod base_n;
6058pub mod binary_search_util;
6159pub mod captures;
60+ pub mod fingerprint;
6261pub mod flat_map_in_place;
6362pub mod flock;
63+ pub mod frozen;
6464pub mod fx;
6565pub mod graph;
6666pub mod intern;
6767pub mod jobserver;
6868pub mod macros;
69- pub mod obligation_forest;
70- pub mod sip128;
71- pub mod small_c_str;
72- pub mod snapshot_map;
73- pub mod svh;
74- pub use ena:: snapshot_vec;
75- mod atomic_ref;
76- pub mod fingerprint;
7769pub mod marker;
7870pub mod memmap;
71+ pub mod obligation_forest;
72+ pub mod owned_slice;
73+ pub mod packed;
7974pub mod profiling;
8075pub mod sharded;
76+ pub mod sip128;
77+ pub mod small_c_str;
78+ pub mod snapshot_map;
8179pub mod sorted_map;
80+ pub mod sso;
8281pub mod stable_hasher;
8382pub mod stack;
83+ pub mod steal;
84+ pub mod svh;
8485pub mod sync;
86+ pub mod tagged_ptr;
87+ pub mod temp_dir;
8588pub mod tiny_list;
8689pub mod transitive_relation;
90+ pub mod unhash;
91+ pub mod unord;
8792pub mod vec_linked_list;
8893pub mod work_queue;
89- pub use atomic_ref:: AtomicRef ;
90- pub mod aligned;
91- pub mod frozen;
94+
95+ mod atomic_ref;
9296mod hashes;
93- pub mod owned_slice;
94- pub mod packed;
95- pub mod sso;
96- pub mod steal;
97- pub mod tagged_ptr;
98- pub mod temp_dir;
99- pub mod unhash;
100- pub mod unord;
10197
102- pub use ena:: undo_log;
103- pub use ena:: unify;
98+ /// This calls the passed function while ensuring it won't be inlined into the caller.
99+ #[ inline( never) ]
100+ #[ cold]
101+ pub fn outline < F : FnOnce ( ) -> R , R > ( f : F ) -> R {
102+ f ( )
103+ }
104104
105105/// Returns a structure that calls `f` when dropped.
106106pub fn defer < F : FnOnce ( ) > ( f : F ) -> OnDrop < F > {
You can’t perform that action at this time.
0 commit comments