]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/util/nodemap.rs
operate on `HirId` in `hir::Pat::each_binding`, and consequences of that
[rust.git] / src / librustc / util / nodemap.rs
index f98a8f834df8a912f1bdb914f1d904eed1c6270e..c92aa24b8cf5a93681a70a605826124840a39eae 100644 (file)
@@ -31,8 +31,9 @@
 
 pub fn NodeMap<T>() -> NodeMap<T> { FxHashMap() }
 pub fn DefIdMap<T>() -> DefIdMap<T> { FxHashMap() }
+pub fn HirIdMap<T>() -> HirIdMap<T> { FxHashMap() }
 pub fn ItemLocalMap<T>() -> ItemLocalMap<T> { FxHashMap() }
 pub fn NodeSet() -> NodeSet { FxHashSet() }
 pub fn DefIdSet() -> DefIdSet { FxHashSet() }
+pub fn HirIdSet() -> HirIdSet { FxHashSet() }
 pub fn ItemLocalSet() -> ItemLocalSet { FxHashSet() }
-