Skip to content

Commit eb669b3

Browse files
committed
cleanup: remove hir_path_str
1 parent 3a1a704 commit eb669b3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/librustc/ty/item_path.rs

-5
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ impl<'a, 'gcx, 'tcx> TyCtxt<'a, 'gcx, 'tcx> {
7676
self.item_path_str(self.hir().local_def_id(id))
7777
}
7878

79-
// FIXME(@ljedrz): replace the NodeId variant
80-
pub fn hir_path_str(self, id: hir::HirId) -> String {
81-
self.item_path_str(self.hir().local_def_id_from_hir_id(id))
82-
}
83-
8479
/// Returns a string identifying this def-id. This string is
8580
/// suitable for user output. It always begins with a crate identifier.
8681
pub fn absolute_item_path_str(self, def_id: DefId) -> String {

0 commit comments

Comments
 (0)