@@ -28,7 +28,7 @@ use crate::ty::subst::{GenericArg, InternalSubsts, Subst, SubstsRef};
28
28
use crate :: ty:: util:: Discr ;
29
29
use rustc_ast as ast;
30
30
use rustc_attr as attr;
31
- use rustc_data_structures:: fx:: { FxHashMap , FxHashSet } ;
31
+ use rustc_data_structures:: fx:: { FxHashMap , FxHashSet , FxIndexMap } ;
32
32
use rustc_data_structures:: stable_hasher:: { HashStable , StableHasher } ;
33
33
use rustc_data_structures:: tagged_ptr:: CopyTaggedPtr ;
34
34
use rustc_hir as hir;
@@ -43,7 +43,6 @@ use rustc_span::{sym, Span};
43
43
use rustc_target:: abi:: Align ;
44
44
45
45
use std:: cmp:: Ordering ;
46
- use std:: collections:: BTreeMap ;
47
46
use std:: hash:: { Hash , Hasher } ;
48
47
use std:: ops:: ControlFlow ;
49
48
use std:: { fmt, ptr, str} ;
@@ -136,7 +135,7 @@ pub struct ResolverOutputs {
136
135
/// via `extern crate` item and not `--extern` option or compiler built-in.
137
136
pub extern_prelude : FxHashMap < Symbol , bool > ,
138
137
pub main_def : Option < MainDefinition > ,
139
- pub trait_impls : BTreeMap < DefId , Vec < LocalDefId > > ,
138
+ pub trait_impls : FxIndexMap < DefId , Vec < LocalDefId > > ,
140
139
/// A list of proc macro LocalDefIds, written out in the order in which
141
140
/// they are declared in the static array generated by proc_macro_harness.
142
141
pub proc_macros : Vec < LocalDefId > ,
0 commit comments