@@ -32,7 +32,8 @@ const EXPECTED = [
3232 'path' : 'doc_alias' ,
3333 'name' : 'Struct' ,
3434 'alias' : 'StructItem' ,
35- 'href' : '../doc_alias/struct.Struct.html'
35+ 'href' : '../doc_alias/struct.Struct.html' ,
36+ 'is_alias' : true
3637 } ,
3738 ] ,
3839 } ,
@@ -42,7 +43,8 @@ const EXPECTED = [
4243 'path' : 'doc_alias::Struct' ,
4344 'name' : 'field' ,
4445 'alias' : 'StructFieldItem' ,
45- 'href' : '../doc_alias/struct.Struct.html#structfield.field'
46+ 'href' : '../doc_alias/struct.Struct.html#structfield.field' ,
47+ 'is_alias' : true
4648 } ,
4749 ] ,
4850 } ,
@@ -52,7 +54,8 @@ const EXPECTED = [
5254 'path' : 'doc_alias::Struct' ,
5355 'name' : 'method' ,
5456 'alias' : 'StructMethodItem' ,
55- 'href' : '../doc_alias/struct.Struct.html#method.method'
57+ 'href' : '../doc_alias/struct.Struct.html#method.method' ,
58+ 'is_alias' : true
5659 } ,
5760 ] ,
5861 } ,
@@ -65,16 +68,24 @@ const EXPECTED = [
6568 'others' : [ ] ,
6669 } ,
6770 {
68- // ImplTraitFunction
69- 'others' : [ ] ,
71+ 'others' : [
72+ {
73+ 'path' : 'doc_alias::Struct' ,
74+ 'name' : 'function' ,
75+ 'alias' : 'ImplTraitFunction' ,
76+ 'href' : '../doc_alias/struct.Struct.html#method.function' ,
77+ 'is_alias' : true
78+ } ,
79+ ] ,
7080 } ,
7181 {
7282 'others' : [
7383 {
7484 'path' : 'doc_alias' ,
7585 'name' : 'Enum' ,
7686 'alias' : 'EnumItem' ,
77- 'href' : '../doc_alias/enum.Enum.html'
87+ 'href' : '../doc_alias/enum.Enum.html' ,
88+ 'is_alias' : true
7889 } ,
7990 ] ,
8091 } ,
@@ -84,7 +95,8 @@ const EXPECTED = [
8495 'path' : 'doc_alias::Enum' ,
8596 'name' : 'Variant' ,
8697 'alias' : 'VariantItem' ,
87- 'href' : '../doc_alias/enum.Enum.html#variant.Variant'
98+ 'href' : '../doc_alias/enum.Enum.html#variant.Variant' ,
99+ 'is_alias' : true
88100 } ,
89101 ] ,
90102 } ,
@@ -94,7 +106,8 @@ const EXPECTED = [
94106 'path' : 'doc_alias::Enum' ,
95107 'name' : 'method' ,
96108 'alias' : 'EnumMethodItem' ,
97- 'href' : '../doc_alias/enum.Enum.html#method.method'
109+ 'href' : '../doc_alias/enum.Enum.html#method.method' ,
110+ 'is_alias' : true
98111 } ,
99112 ] ,
100113 } ,
@@ -104,7 +117,8 @@ const EXPECTED = [
104117 'path' : 'doc_alias' ,
105118 'name' : 'Typedef' ,
106119 'alias' : 'TypedefItem' ,
107- 'href' : '../doc_alias/type.Typedef.html'
120+ 'href' : '../doc_alias/type.Typedef.html' ,
121+ 'is_alias' : true
108122 } ,
109123 ] ,
110124 } ,
@@ -114,7 +128,8 @@ const EXPECTED = [
114128 'path' : 'doc_alias' ,
115129 'name' : 'Trait' ,
116130 'alias' : 'TraitItem' ,
117- 'href' : '../doc_alias/trait.Trait.html'
131+ 'href' : '../doc_alias/trait.Trait.html' ,
132+ 'is_alias' : true
118133 } ,
119134 ] ,
120135 } ,
@@ -124,7 +139,8 @@ const EXPECTED = [
124139 'path' : 'doc_alias::Trait' ,
125140 'name' : 'Target' ,
126141 'alias' : 'TraitTypeItem' ,
127- 'href' : '../doc_alias/trait.Trait.html#associatedtype.Target'
142+ 'href' : '../doc_alias/trait.Trait.html#associatedtype.Target' ,
143+ 'is_alias' : true
128144 } ,
129145 ] ,
130146 } ,
@@ -134,7 +150,8 @@ const EXPECTED = [
134150 'path' : 'doc_alias::Trait' ,
135151 'name' : 'AssociatedConst' ,
136152 'alias' : 'AssociatedConstItem' ,
137- 'href' : '../doc_alias/trait.Trait.html#associatedconstant.AssociatedConst'
153+ 'href' : '../doc_alias/trait.Trait.html#associatedconstant.AssociatedConst' ,
154+ 'is_alias' : true
138155 } ,
139156 ] ,
140157 } ,
@@ -144,7 +161,8 @@ const EXPECTED = [
144161 'path' : 'doc_alias::Trait' ,
145162 'name' : 'function' ,
146163 'alias' : 'TraitFunctionItem' ,
147- 'href' : '../doc_alias/trait.Trait.html#tymethod.function'
164+ 'href' : '../doc_alias/trait.Trait.html#tymethod.function' ,
165+ 'is_alias' : true
148166 } ,
149167 ] ,
150168 } ,
@@ -154,7 +172,8 @@ const EXPECTED = [
154172 'path' : 'doc_alias' ,
155173 'name' : 'function' ,
156174 'alias' : 'FunctionItem' ,
157- 'href' : '../doc_alias/fn.function.html'
175+ 'href' : '../doc_alias/fn.function.html' ,
176+ 'is_alias' : true
158177 } ,
159178 ] ,
160179 } ,
@@ -164,7 +183,8 @@ const EXPECTED = [
164183 'path' : 'doc_alias' ,
165184 'name' : 'Module' ,
166185 'alias' : 'ModuleItem' ,
167- 'href' : '../doc_alias/Module/index.html'
186+ 'href' : '../doc_alias/Module/index.html' ,
187+ 'is_alias' : true
168188 } ,
169189 ] ,
170190 } ,
@@ -174,7 +194,8 @@ const EXPECTED = [
174194 'path' : 'doc_alias' ,
175195 'name' : 'Const' ,
176196 'alias' : 'ConstItem' ,
177- 'href' : '../doc_alias/constant.Const.html'
197+ 'href' : '../doc_alias/constant.Const.html' ,
198+ 'is_alias' : true
178199 } ,
179200 ] ,
180201 } ,
@@ -184,7 +205,8 @@ const EXPECTED = [
184205 'path' : 'doc_alias' ,
185206 'name' : 'Static' ,
186207 'alias' : 'StaticItem' ,
187- 'href' : '../doc_alias/static.Static.html'
208+ 'href' : '../doc_alias/static.Static.html' ,
209+ 'is_alias' : true
188210 } ,
189211 ] ,
190212 } ,
@@ -194,7 +216,8 @@ const EXPECTED = [
194216 'path' : 'doc_alias' ,
195217 'name' : 'Union' ,
196218 'alias' : 'UnionItem' ,
197- 'href' : '../doc_alias/union.Union.html'
219+ 'href' : '../doc_alias/union.Union.html' ,
220+ 'is_alias' : true
198221 } ,
199222 // Not an alias!
200223 {
@@ -210,7 +233,8 @@ const EXPECTED = [
210233 'path' : 'doc_alias::Union' ,
211234 'name' : 'union_item' ,
212235 'alias' : 'UnionFieldItem' ,
213- 'href' : '../doc_alias/union.Union.html#structfield.union_item'
236+ 'href' : '../doc_alias/union.Union.html#structfield.union_item' ,
237+ 'is_alias' : true
214238 } ,
215239 ] ,
216240 } ,
@@ -220,7 +244,8 @@ const EXPECTED = [
220244 'path' : 'doc_alias::Union' ,
221245 'name' : 'method' ,
222246 'alias' : 'UnionMethodItem' ,
223- 'href' : '../doc_alias/union.Union.html#method.method'
247+ 'href' : '../doc_alias/union.Union.html#method.method' ,
248+ 'is_alias' : true
224249 } ,
225250 ] ,
226251 } ,
@@ -230,7 +255,8 @@ const EXPECTED = [
230255 'path' : 'doc_alias' ,
231256 'name' : 'Macro' ,
232257 'alias' : 'MacroItem' ,
233- 'href' : '../doc_alias/macro.Macro.html'
258+ 'href' : '../doc_alias/macro.Macro.html' ,
259+ 'is_alias' : true
234260 } ,
235261 ] ,
236262 } ,
0 commit comments