Remove unused StableHashingContext::node_to_hir_id method

This commit is contained in:
marmeladema 2020-05-20 00:11:05 +01:00
parent 3a7dfda40a
commit fdc4522f80

View File

@ -135,11 +135,6 @@ pub fn local_def_path_hash(&self, def_id: LocalDefId) -> DefPathHash {
self.definitions.def_path_hash(def_id)
}
#[inline]
pub fn node_to_hir_id(&self, node_id: ast::NodeId) -> hir::HirId {
self.definitions.node_id_to_hir_id(node_id)
}
#[inline]
pub fn hash_bodies(&self) -> bool {
self.hash_bodies