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 45
45
#[ macro_use]
46
46
extern crate tracing;
47
47
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;
50
52
pub use rustc_index:: static_assert_size;
51
53
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;
58
55
56
+ pub mod aligned;
59
57
pub mod base_n;
60
58
pub mod binary_search_util;
61
59
pub mod captures;
60
+ pub mod fingerprint;
62
61
pub mod flat_map_in_place;
63
62
pub mod flock;
63
+ pub mod frozen;
64
64
pub mod fx;
65
65
pub mod graph;
66
66
pub mod intern;
67
67
pub mod jobserver;
68
68
pub 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;
77
69
pub mod marker;
78
70
pub mod memmap;
71
+ pub mod obligation_forest;
72
+ pub mod owned_slice;
73
+ pub mod packed;
79
74
pub mod profiling;
80
75
pub mod sharded;
76
+ pub mod sip128;
77
+ pub mod small_c_str;
78
+ pub mod snapshot_map;
81
79
pub mod sorted_map;
80
+ pub mod sso;
82
81
pub mod stable_hasher;
83
82
pub mod stack;
83
+ pub mod steal;
84
+ pub mod svh;
84
85
pub mod sync;
86
+ pub mod tagged_ptr;
87
+ pub mod temp_dir;
85
88
pub mod tiny_list;
86
89
pub mod transitive_relation;
90
+ pub mod unhash;
91
+ pub mod unord;
87
92
pub mod vec_linked_list;
88
93
pub mod work_queue;
89
- pub use atomic_ref:: AtomicRef ;
90
- pub mod aligned;
91
- pub mod frozen;
94
+
95
+ mod atomic_ref;
92
96
mod 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;
101
97
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
+ }
104
104
105
105
/// Returns a structure that calls `f` when dropped.
106
106
pub fn defer < F : FnOnce ( ) > ( f : F ) -> OnDrop < F > {
You can’t perform that action at this time.
0 commit comments