@@ -5,7 +5,7 @@ use std::sync::mpsc::{Receiver, channel};
55use std:: { fmt, io} ;
66
77use rinja:: Template ;
8- use rustc_data_structures:: fx:: { FxHashMap , FxHashSet , FxIndexMap , FxIndexSet } ;
8+ use rustc_data_structures:: fx:: { FxHashMap , FxHashSet , FxIndexMap } ;
99use rustc_hir:: def_id:: { DefIdMap , LOCAL_CRATE } ;
1010use rustc_middle:: ty:: TyCtxt ;
1111use rustc_session:: Session ;
@@ -61,7 +61,7 @@ pub(crate) struct Context<'tcx> {
6161 /// [#82381]: https://github.com/rust-lang/rust/issues/82381
6262 pub ( crate ) shared : SharedContext < ' tcx > ,
6363 /// Collection of all types with notable traits referenced in the current module.
64- pub ( crate ) types_with_notable_traits : RefCell < FxIndexSet < clean:: Type > > ,
64+ pub ( crate ) types_with_notable_traits : RefCell < FxHashSet < clean:: Type > > ,
6565 /// Contains information that needs to be saved and reset after rendering an item which is
6666 /// not a module.
6767 pub ( crate ) info : ContextInfo ,
@@ -582,7 +582,7 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
582582 id_map : RefCell :: new ( id_map) ,
583583 deref_id_map : Default :: default ( ) ,
584584 shared : scx,
585- types_with_notable_traits : RefCell :: new ( FxIndexSet :: default ( ) ) ,
585+ types_with_notable_traits : RefCell :: default ( ) ,
586586 info : ContextInfo :: new ( include_sources) ,
587587 } ;
588588
0 commit comments