about summary refs log tree commit diff
diff options
context:
space:
mode:
authorljedrz <ljedrz@gmail.com>2019-02-07 12:35:40 +0100
committerljedrz <ljedrz@gmail.com>2019-02-09 16:37:17 +0100
commiteb669b3a83dc1c1195ade3bff7f237afdd569ba2 (patch)
treee6e9d9bc3549034dc21dd48f67239effe06a0227
parent3a1a704903e5e671032811a2dc6fc958663bf4d7 (diff)
cleanup: remove hir_path_str
-rw-r--r--src/librustc/ty/item_path.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/librustc/ty/item_path.rs b/src/librustc/ty/item_path.rs
index df09cf629d4..388eafb826f 100644
--- a/src/librustc/ty/item_path.rs
+++ b/src/librustc/ty/item_path.rs
@@ -76,11 +76,6 @@ impl<'a, 'gcx, 'tcx> TyCtxt<'a, 'gcx, 'tcx> {
         self.item_path_str(self.hir().local_def_id(id))
     }
 
-    // FIXME(@ljedrz): replace the NodeId variant
-    pub fn hir_path_str(self, id: hir::HirId) -> String {
-        self.item_path_str(self.hir().local_def_id_from_hir_id(id))
-    }
-
     /// Returns a string identifying this def-id. This string is
     /// suitable for user output. It always begins with a crate identifier.
     pub fn absolute_item_path_str(self, def_id: DefId) -> String {