about summary refs log tree commit diff
path: root/src/librustdoc
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2018-12-19 12:31:35 +0200
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2019-03-15 13:25:10 +0200
commite0c75ff40def45bbf39bfed5766a1a8a56f2409f (patch)
tree2481a8ecd209948f09dcd09f1e012a968c1bd88c /src/librustdoc
parentf1af5a77a00225bec61c0ae7218031123364b619 (diff)
downloadrust-e0c75ff40def45bbf39bfed5766a1a8a56f2409f.tar.gz
rust-e0c75ff40def45bbf39bfed5766a1a8a56f2409f.zip
rustc: rename item_path to def_path (except the module in ty).
Diffstat (limited to 'src/librustdoc')
-rw-r--r--src/librustdoc/clean/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs
index e2e2d552ff1..08d165b82b1 100644
--- a/src/librustdoc/clean/mod.rs
+++ b/src/librustdoc/clean/mod.rs
@@ -4250,7 +4250,7 @@ where F: Fn(DefId) -> Def {
     }
 
     let names = PrintCx::new(tcx, AbsolutePathPrinter)
-        .print_item_path(def_id, None, Namespace::TypeNS);
+        .print_def_path(def_id, None, Namespace::TypeNS);
 
     hir::Path {
         span: DUMMY_SP,