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 @@ -166,7 +166,7 @@ pub struct Session {
166
166
pub driver_lint_caps : FxHashMap < lint:: LintId , lint:: Level > ,
167
167
168
168
/// `Span`s of trait methods that weren't found to avoid emitting object safety errors
169
- pub trait_methods_not_found : OneThread < RefCell < FxHashSet < Span > > > ,
169
+ pub trait_methods_not_found : Lock < FxHashSet < Span > > ,
170
170
}
171
171
172
172
pub struct PerfStats {
@@ -1236,7 +1236,7 @@ fn build_session_(
1236
1236
has_global_allocator : Once :: new ( ) ,
1237
1237
has_panic_handler : Once :: new ( ) ,
1238
1238
driver_lint_caps,
1239
- trait_methods_not_found : OneThread :: new ( RefCell :: new ( Default :: default ( ) ) ) ,
1239
+ trait_methods_not_found : Lock :: new ( Default :: default ( ) ) ,
1240
1240
} ;
1241
1241
1242
1242
validate_commandline_args_with_session_available ( & sess) ;
You can’t perform that action at this time.
0 commit comments