Rollup merge of #72365 - marmeladema:remove-node_to_hir_id, r=ecstatic-morse

Remove unused `StableHashingContext::node_to_hir_id` method

cc #50928
This commit is contained in:
Ralf Jung 2020-05-21 13:12:20 +02:00 committed by GitHub
commit 4f9fe914e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,11 +135,6 @@ impl<'a> StableHashingContext<'a> {
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