@@ -6,7 +6,7 @@ use std::path::{Path, PathBuf};
66use std:: sync:: mpsc:: { Receiver , channel} ;
77
88use rinja:: Template ;
9- use rustc_data_structures:: fx:: { FxHashMap , FxHashSet , FxIndexMap , FxIndexSet } ;
9+ use rustc_data_structures:: fx:: { FxHashMap , FxHashSet , FxIndexMap } ;
1010use rustc_hir:: def_id:: { DefIdMap , LOCAL_CRATE } ;
1111use rustc_middle:: ty:: TyCtxt ;
1212use rustc_session:: Session ;
@@ -62,7 +62,7 @@ pub(crate) struct Context<'tcx> {
6262 /// [#82381]: https://github.com/rust-lang/rust/issues/82381
6363 pub ( crate ) shared : SharedContext < ' tcx > ,
6464 /// Collection of all types with notable traits referenced in the current module.
65- pub ( crate ) types_with_notable_traits : RefCell < FxIndexSet < clean:: Type > > ,
65+ pub ( crate ) types_with_notable_traits : RefCell < FxHashSet < clean:: Type > > ,
6666 /// Contains information that needs to be saved and reset after rendering an item which is
6767 /// not a module.
6868 pub ( crate ) info : ContextInfo ,
@@ -587,7 +587,7 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
587587 id_map : RefCell :: new ( id_map) ,
588588 deref_id_map : Default :: default ( ) ,
589589 shared : scx,
590- types_with_notable_traits : RefCell :: new ( FxIndexSet :: default ( ) ) ,
590+ types_with_notable_traits : RefCell :: default ( ) ,
591591 info : ContextInfo :: new ( include_sources) ,
592592 } ;
593593
0 commit comments