]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_incremental/persist/directory.rs
Rollup merge of #41135 - japaric:unstable-docs, r=steveklabnik
[rust.git] / src / librustc_incremental / persist / directory.rs
index 546feb212243aca2c3d629ae8a7e89345356481d..b9b860222968b7b232050ca1cd5d46b36b0afa25 100644 (file)
@@ -186,10 +186,6 @@ pub fn add(&mut self, def_id: DefId) -> DefPathIndex {
                  .clone()
     }
 
-    pub fn lookup_def_path(&self, id: DefPathIndex) -> &DefPath {
-        &self.directory.paths[id.index as usize]
-    }
-
     pub fn map(&mut self, node: &DepNode<DefId>) -> DepNode<DefPathIndex> {
         node.map_def(|&def_id| Some(self.add(def_id))).unwrap()
     }