]> git.proxmox.com Git - rustc.git/blobdiff - src/librustc/util/nodemap.rs
New upstream version 1.23.0+dfsg1
[rustc.git] / src / librustc / util / nodemap.rs
index c397371c5c7672021fcca82928b05eb20ad49199..674f67d5cd2f188b6dc7d89dc849de8c5c4969dc 100644 (file)
@@ -25,10 +25,12 @@ pub type ItemLocalMap<T> = FxHashMap<ItemLocalId, T>;
 
 pub type NodeSet = FxHashSet<ast::NodeId>;
 pub type DefIdSet = FxHashSet<DefId>;
+pub type ItemLocalSet = FxHashSet<ItemLocalId>;
 
 pub fn NodeMap<T>() -> NodeMap<T> { FxHashMap() }
 pub fn DefIdMap<T>() -> DefIdMap<T> { FxHashMap() }
 pub fn ItemLocalMap<T>() -> ItemLocalMap<T> { FxHashMap() }
 pub fn NodeSet() -> NodeSet { FxHashSet() }
 pub fn DefIdSet() -> DefIdSet { FxHashSet() }
+pub fn ItemLocalSet() -> ItemLocalSet { FxHashSet() }