File tree Expand file tree Collapse file tree 4 files changed +13
-1
lines changed
branches/snap-stage3/src/rustdoc Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 2740a6b6052206a381933812cfe9337a7ed2db60
4
+ refs/heads/snap-stage3: bfd8a14065fee0eaaa9393c4b333e9b9075fd367
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -6,12 +6,21 @@ type cratedoc = ~{
6
6
topmod : moddoc ,
7
7
} ;
8
8
9
+ enum itemtag {
10
+ modtag( moddoc ) ,
11
+ consttag( constdoc ) ,
12
+ fntag( fndoc ) ,
13
+ enumtag( enumdoc ) ,
14
+ restag( resdoc )
15
+ }
16
+
9
17
type moddoc = ~{
10
18
id : ast_id ,
11
19
name : str ,
12
20
path: [ str ] ,
13
21
brief : option < str > ,
14
22
desc : option < str > ,
23
+ items : [ itemtag ] ,
15
24
mods : modlist ,
16
25
fns : fnlist ,
17
26
consts : constlist ,
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ fn moddoc_from_mod(
43
43
path: [ ] ,
44
44
brief: none,
45
45
desc: none,
46
+ items: [ ] ,
46
47
mods: doc:: modlist (
47
48
vec:: filter_map ( module. items ) { |item|
48
49
alt item. node {
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ fn test_run_passes() {
49
49
path : [ ] ,
50
50
brief : none,
51
51
desc : none,
52
+ items : [ ] ,
52
53
mods : doc:: modlist ( [ ] ) ,
53
54
fns : doc:: fnlist ( [ ] ) ,
54
55
consts : doc:: constlist ( [ ] ) ,
@@ -68,6 +69,7 @@ fn test_run_passes() {
68
69
path : [ ] ,
69
70
brief : none,
70
71
desc : none,
72
+ items : [ ] ,
71
73
mods : doc:: modlist ( [ ] ) ,
72
74
fns : doc:: fnlist ( [ ] ) ,
73
75
consts : doc:: constlist ( [ ] ) ,
You can’t perform that action at this time.
0 commit comments