Skip to content

Commit

Permalink
Rollup merge of rust-lang#72365 - marmeladema:remove-node_to_hir_id, …
Browse files Browse the repository at this point in the history
…r=ecstatic-morse

Remove unused `StableHashingContext::node_to_hir_id` method

cc rust-lang#50928
  • Loading branch information
RalfJung authored May 21, 2020
2 parents 0f17a7c + fdc4522 commit ec4edbc
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 ec4edbc

Please sign in to comment.