Skip to content

Commit fdc4522

Browse files
committed
Remove unused StableHashingContext::node_to_hir_id method
1 parent 3a7dfda commit fdc4522

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/librustc_middle/ich/hcx.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,6 @@ impl<'a> StableHashingContext<'a> {
135135
self.definitions.def_path_hash(def_id)
136136
}
137137

138-
#[inline]
139-
pub fn node_to_hir_id(&self, node_id: ast::NodeId) -> hir::HirId {
140-
self.definitions.node_id_to_hir_id(node_id)
141-
}
142-
143138
#[inline]
144139
pub fn hash_bodies(&self) -> bool {
145140
self.hash_bodies

0 commit comments

Comments
 (0)