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 {
166166 pub driver_lint_caps : FxHashMap < lint:: LintId , lint:: Level > ,
167167
168168 /// `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 > > ,
170170}
171171
172172pub struct PerfStats {
@@ -1236,7 +1236,7 @@ fn build_session_(
12361236 has_global_allocator : Once :: new ( ) ,
12371237 has_panic_handler : Once :: new ( ) ,
12381238 driver_lint_caps,
1239- trait_methods_not_found : OneThread :: new ( RefCell :: new ( Default :: default ( ) ) ) ,
1239+ trait_methods_not_found : Lock :: new ( Default :: default ( ) ) ,
12401240 } ;
12411241
12421242 validate_commandline_args_with_session_available ( & sess) ;
You can’t perform that action at this time.
0 commit comments