File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ pub struct Session {
127
127
/// macro name and definition span in the source crate.
128
128
pub imported_macro_spans : RefCell < HashMap < Span , ( String , Span ) > > ,
129
129
130
- incr_comp_session : RefCell < IncrCompSession > ,
130
+ incr_comp_session : OneThread < RefCell < IncrCompSession > > ,
131
131
132
132
/// A cache of attributes ignored by StableHashingContext
133
133
pub ignored_attr_names : FxHashSet < Symbol > ,
@@ -1117,7 +1117,7 @@ pub fn build_session_(
1117
1117
allocator_kind : Cell :: new ( None ) ,
1118
1118
injected_panic_runtime : Cell :: new ( None ) ,
1119
1119
imported_macro_spans : RefCell :: new ( HashMap :: new ( ) ) ,
1120
- incr_comp_session : RefCell :: new ( IncrCompSession :: NotInitialized ) ,
1120
+ incr_comp_session : OneThread :: new ( RefCell :: new ( IncrCompSession :: NotInitialized ) ) ,
1121
1121
ignored_attr_names : ich:: compute_ignored_attr_names ( ) ,
1122
1122
profile_channel : Lock :: new ( None ) ,
1123
1123
perf_stats : PerfStats {
You can’t perform that action at this time.
0 commit comments