summary refs log tree commit diff
path: root/src/rustdoc/doc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rustdoc/doc.rs')
-rw-r--r--src/rustdoc/doc.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rustdoc/doc.rs b/src/rustdoc/doc.rs
index ed2aa2af1cc..70bd4d981bc 100644
--- a/src/rustdoc/doc.rs
+++ b/src/rustdoc/doc.rs
@@ -30,6 +30,7 @@ type moddoc = {
 type constdoc = {
     id: ast_id,
     name: str,
+    path: [str],
     brief: option<str>,
     desc: option<str>,
     ty: option<str>
@@ -38,6 +39,7 @@ type constdoc = {
 type fndoc = {
     id: ast_id,
     name: str,
+    path: [str],
     brief: option<str>,
     desc: option<str>,
     args: [argdoc],
@@ -60,6 +62,7 @@ type retdoc = {
 type enumdoc = {
     id: ast_id,
     name: str,
+    path: [str],
     brief: option<str>,
     desc: option<str>,
     variants: [variantdoc]
@@ -74,6 +77,7 @@ type variantdoc = {
 type resdoc = {
     id: ast_id,
     name: str,
+    path: [str],
     brief: option<str>,
     desc: option<str>,
     args: [argdoc],
@@ -83,6 +87,7 @@ type resdoc = {
 type ifacedoc = {
     id: ast_id,
     name: str,
+    path: [str],
     brief: option<str>,
     desc: option<str>,
     methods: [methoddoc]
@@ -101,6 +106,7 @@ type methoddoc = {
 type impldoc = {
     id: ast_id,
     name: str,
+    path: [str],
     brief: option<str>,
     desc: option<str>,
     iface_ty: option<str>,
@@ -111,6 +117,7 @@ type impldoc = {
 type tydoc = {
     id: ast_id,
     name: str,
+    path: [str],
     brief: option<str>,
     desc: option<str>,
     sig: option<str>