@@ -28,7 +28,7 @@ use crate::ty::subst::{GenericArg, InternalSubsts, Subst, SubstsRef};
2828use crate :: ty:: util:: Discr ;
2929use rustc_ast as ast;
3030use rustc_attr as attr;
31- use rustc_data_structures:: fx:: { FxHashMap , FxHashSet } ;
31+ use rustc_data_structures:: fx:: { FxHashMap , FxHashSet , FxIndexMap } ;
3232use rustc_data_structures:: stable_hasher:: { HashStable , StableHasher } ;
3333use rustc_data_structures:: tagged_ptr:: CopyTaggedPtr ;
3434use rustc_hir as hir;
@@ -43,7 +43,6 @@ use rustc_span::{sym, Span};
4343use rustc_target:: abi:: Align ;
4444
4545use std:: cmp:: Ordering ;
46- use std:: collections:: BTreeMap ;
4746use std:: hash:: { Hash , Hasher } ;
4847use std:: ops:: ControlFlow ;
4948use std:: { fmt, ptr, str} ;
@@ -136,7 +135,7 @@ pub struct ResolverOutputs {
136135 /// via `extern crate` item and not `--extern` option or compiler built-in.
137136 pub extern_prelude : FxHashMap < Symbol , bool > ,
138137 pub main_def : Option < MainDefinition > ,
139- pub trait_impls : BTreeMap < DefId , Vec < LocalDefId > > ,
138+ pub trait_impls : FxIndexMap < DefId , Vec < LocalDefId > > ,
140139 /// A list of proc macro LocalDefIds, written out in the order in which
141140 /// they are declared in the static array generated by proc_macro_harness.
142141 pub proc_macros : Vec < LocalDefId > ,
0 commit comments