Skip to content

Commit

Permalink
Remove unused StableHashingContext::node_to_hir_id method
Browse files Browse the repository at this point in the history
  • Loading branch information
marmeladema committed May 19, 2020
1 parent 3a7dfda commit fdc4522
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/librustc_middle/ich/hcx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fdc4522

Please sign in to comment.