Skip to content

Commit a9b4074

Browse files
committed
---
yaml --- r: 14349 b: refs/heads/try c: d26fc34 h: refs/heads/master i: 14347: e6c46fe v: v3
1 parent 7e803c3 commit a9b4074

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: a5ede9d34533be86bab0fd5a255d527b2fd3cdc6
5+
refs/heads/try: d26fc348ef1f39583dfdf2ee5b2fc37fdc67eef5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/rustdoc/doc.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ type moddoc = {
3030
type constdoc = {
3131
id: ast_id,
3232
name: str,
33+
path: [str],
3334
brief: option<str>,
3435
desc: option<str>,
3536
ty: option<str>
@@ -38,6 +39,7 @@ type constdoc = {
3839
type fndoc = {
3940
id: ast_id,
4041
name: str,
42+
path: [str],
4143
brief: option<str>,
4244
desc: option<str>,
4345
args: [argdoc],
@@ -60,6 +62,7 @@ type retdoc = {
6062
type enumdoc = {
6163
id: ast_id,
6264
name: str,
65+
path: [str],
6366
brief: option<str>,
6467
desc: option<str>,
6568
variants: [variantdoc]
@@ -74,6 +77,7 @@ type variantdoc = {
7477
type resdoc = {
7578
id: ast_id,
7679
name: str,
80+
path: [str],
7781
brief: option<str>,
7882
desc: option<str>,
7983
args: [argdoc],
@@ -83,6 +87,7 @@ type resdoc = {
8387
type ifacedoc = {
8488
id: ast_id,
8589
name: str,
90+
path: [str],
8691
brief: option<str>,
8792
desc: option<str>,
8893
methods: [methoddoc]
@@ -101,6 +106,7 @@ type methoddoc = {
101106
type impldoc = {
102107
id: ast_id,
103108
name: str,
109+
path: [str],
104110
brief: option<str>,
105111
desc: option<str>,
106112
iface_ty: option<str>,
@@ -111,6 +117,7 @@ type impldoc = {
111117
type tydoc = {
112118
id: ast_id,
113119
name: str,
120+
path: [str],
114121
brief: option<str>,
115122
desc: option<str>,
116123
sig: option<str>

branches/try/src/rustdoc/extract.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ fn fndoc_from_fn(
101101
{
102102
id: id,
103103
name: name,
104+
path: [],
104105
brief: none,
105106
desc: none,
106107
args: argdocs_from_args(decl.inputs),
@@ -142,6 +143,7 @@ fn constdoc_from_const(
142143
{
143144
id: id,
144145
name: name,
146+
path: [],
145147
brief: none,
146148
desc: none,
147149
ty: none
@@ -163,6 +165,7 @@ fn enumdoc_from_enum(
163165
{
164166
id: id,
165167
name: name,
168+
path: [],
166169
brief: none,
167170
desc: none,
168171
variants: variantdocs_from_variants(variants)
@@ -204,6 +207,7 @@ fn resdoc_from_resource(
204207
{
205208
id: id,
206209
name: name,
210+
path: [],
207211
brief: none,
208212
desc: none,
209213
args: argdocs_from_args(decl.inputs),
@@ -232,6 +236,7 @@ fn ifacedoc_from_iface(
232236
{
233237
id: id,
234238
name: name,
239+
path: [],
235240
brief: none,
236241
desc: none,
237242
methods: vec::map(methods) {|method|
@@ -277,6 +282,7 @@ fn impldoc_from_impl(
277282
{
278283
id: id,
279284
name: name,
285+
path: [],
280286
brief: none,
281287
desc: none,
282288
iface_ty: none,
@@ -329,6 +335,7 @@ fn tydoc_from_ty(
329335
{
330336
id: id,
331337
name: name,
338+
path: [],
332339
brief: none,
333340
desc: none,
334341
sig: none

0 commit comments

Comments
 (0)