Skip to content

Commit 6b79951

Browse files
committed
Remove unused function.
1 parent 12b39e5 commit 6b79951

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

compiler/rustc_hir/src/definitions.rs

-6
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,6 @@ impl DefPathTable {
9292
.iter_enumerated()
9393
.map(move |(index, key)| (index, key, &self.def_path_hashes[index]))
9494
}
95-
96-
pub fn all_def_path_hashes_and_def_ids(
97-
&self,
98-
) -> impl Iterator<Item = (&DefPathHash, DefIndex)> + '_ {
99-
self.def_path_hashes.iter_enumerated().map(move |(index, hash)| (hash, index))
100-
}
10195
}
10296

10397
/// The definition table containing node definitions.

0 commit comments

Comments
 (0)