@@ -35,7 +35,7 @@ use rustc_data_structures::sync::{self, Lock, Lrc, WorkerLocal};
3535use rustc_errors:: ErrorReported ;
3636use rustc_hir as hir;
3737use rustc_hir:: def:: { DefKind , Res } ;
38- use rustc_hir:: def_id:: { CrateNum , DefId , DefIdMap , DefIdSet , LocalDefId , LOCAL_CRATE } ;
38+ use rustc_hir:: def_id:: { CrateNum , DefId , DefIdMap , LocalDefId , LOCAL_CRATE } ;
3939use rustc_hir:: definitions:: { DefPathHash , Definitions } ;
4040use rustc_hir:: lang_items:: { self , PanicLocationLangItem } ;
4141use rustc_hir:: { HirId , ItemKind , ItemLocalId , ItemLocalMap , ItemLocalSet , Node , TraitCandidate } ;
@@ -392,7 +392,7 @@ pub struct TypeckTables<'tcx> {
392392 /// This is used for warning unused imports. During type
393393 /// checking, this `Lrc` should not be cloned: it must have a ref-count
394394 /// of 1 so that we can insert things into the set mutably.
395- pub used_trait_imports : Lrc < DefIdSet > ,
395+ pub used_trait_imports : Lrc < FxHashSet < LocalDefId > > ,
396396
397397 /// If any errors occurred while type-checking this body,
398398 /// this field will be set to `Some(ErrorReported)`.
0 commit comments