X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustc%2Fhir%2Fdef.rs;h=4e0c6479abf141c1e3fff1dfc8e3648389be1622;hb=efa3ec67e28ab8a4c3377a039095cd464713cdfd;hp=c797f78fc7e3e156feb55ea870891a22c873f03d;hpb=3d29f0e8fdf08a11ef6723e67ea54e29728a457a;p=rust.git diff --git a/src/librustc/hir/def.rs b/src/librustc/hir/def.rs index c797f78fc7e..4e0c6479abf 100644 --- a/src/librustc/hir/def.rs +++ b/src/librustc/hir/def.rs @@ -9,7 +9,7 @@ // except according to those terms. use hir::def_id::DefId; -use util::nodemap::NodeMap; +use util::nodemap::{NodeMap, DefIdMap}; use syntax::ast; use syntax::ext::base::MacroKind; use syntax_pos::Span; @@ -115,7 +115,7 @@ pub fn kind_name(&self) -> &'static str { /// This is the replacement export map. It maps a module to all of the exports /// within. -pub type ExportMap = NodeMap>; +pub type ExportMap = DefIdMap>; #[derive(Copy, Clone, Debug, RustcEncodable, RustcDecodable)] pub struct Export {