Skip to content

Commit 4f9fe91

Browse files
authored
Rollup merge of #72365 - marmeladema:remove-node_to_hir_id, r=ecstatic-morse
Remove unused `StableHashingContext::node_to_hir_id` method cc #50928
2 parents 85d712c + fdc4522 commit 4f9fe91

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/librustc_middle/ich/hcx.rs

-5
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)