diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-10-11 22:36:46 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-10-11 22:36:46 +0200 |
| commit | 6b7995195a7d89ee3d5b669ca7424d0f412ad7bb (patch) | |
| tree | 5491e0a910e2c10532105bbe4be9a4226a6ed7db | |
| parent | 12b39e59127468b77632cadd2908c7e0f8ed2fea (diff) | |
| download | rust-6b7995195a7d89ee3d5b669ca7424d0f412ad7bb.tar.gz rust-6b7995195a7d89ee3d5b669ca7424d0f412ad7bb.zip | |
Remove unused function.
| -rw-r--r-- | compiler/rustc_hir/src/definitions.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_hir/src/definitions.rs b/compiler/rustc_hir/src/definitions.rs index b7bdc9a1414..ca29351455e 100644 --- a/compiler/rustc_hir/src/definitions.rs +++ b/compiler/rustc_hir/src/definitions.rs @@ -92,12 +92,6 @@ impl DefPathTable { .iter_enumerated() .map(move |(index, key)| (index, key, &self.def_path_hashes[index])) } - - pub fn all_def_path_hashes_and_def_ids( - &self, - ) -> impl Iterator<Item = (&DefPathHash, DefIndex)> + '_ { - self.def_path_hashes.iter_enumerated().map(move |(index, hash)| (hash, index)) - } } /// The definition table containing node definitions. |
