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 @@ -125,7 +125,7 @@ pub struct Session {
125
125
/// Map from imported macro spans (which consist of
126
126
/// the localized span for the macro body) to the
127
127
/// macro name and definition span in the source crate.
128
- pub imported_macro_spans : RefCell < HashMap < Span , ( String , Span ) > > ,
128
+ pub imported_macro_spans : OneThread < RefCell < HashMap < Span , ( String , Span ) > > > ,
129
129
130
130
incr_comp_session : OneThread < RefCell < IncrCompSession > > ,
131
131
@@ -1108,7 +1108,7 @@ pub fn build_session_(
1108
1108
injected_allocator : Cell :: new ( None ) ,
1109
1109
allocator_kind : Cell :: new ( None ) ,
1110
1110
injected_panic_runtime : Cell :: new ( None ) ,
1111
- imported_macro_spans : RefCell :: new ( HashMap :: new ( ) ) ,
1111
+ imported_macro_spans : OneThread :: new ( RefCell :: new ( HashMap :: new ( ) ) ) ,
1112
1112
incr_comp_session : OneThread :: new ( RefCell :: new ( IncrCompSession :: NotInitialized ) ) ,
1113
1113
ignored_attr_names : ich:: compute_ignored_attr_names ( ) ,
1114
1114
profile_channel : Lock :: new ( None ) ,
You can’t perform that action at this time.
0 commit comments