]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-json/nested.expected
Auto merge of #79780 - camelid:use-summary_opts, r=GuillaumeGomez
[rust.git] / src / test / rustdoc-json / nested.expected
1 {
2   "crate_version": null,
3   "external_crates": {},
4   "format_version": 1,
5   "includes_private": false,
6   "index": {
7     "0:0": {
8       "attrs": [],
9       "crate_id": 0,
10       "deprecation": null,
11       "docs": "",
12       "id": "0:0",
13       "inner": {
14         "is_crate": true,
15         "items": [
16           "0:3"
17         ]
18       },
19       "kind": "module",
20       "links": {},
21       "name": "nested",
22       "source": {
23         "begin": [
24           2,
25           0
26         ],
27         "end": [
28           7,
29           1
30         ],
31         "filename": "$TEST_BASE_DIR/nested.rs"
32       },
33       "visibility": "public"
34     },
35     "0:3": {
36       "attrs": [],
37       "crate_id": 0,
38       "deprecation": null,
39       "docs": "",
40       "id": "0:3",
41       "inner": {
42         "is_crate": false,
43         "items": [
44           "0:7",
45           "0:4"
46         ]
47       },
48       "kind": "module",
49       "links": {},
50       "name": "l1",
51       "source": {
52         "begin": [
53           2,
54           0
55         ],
56         "end": [
57           7,
58           1
59         ],
60         "filename": "$TEST_BASE_DIR/nested.rs"
61       },
62       "visibility": "public"
63     },
64     "0:4": {
65       "attrs": [],
66       "crate_id": 0,
67       "deprecation": null,
68       "docs": "",
69       "id": "0:4",
70       "inner": {
71         "is_crate": false,
72         "items": [
73           "0:5"
74         ]
75       },
76       "kind": "module",
77       "links": {},
78       "name": "l3",
79       "source": {
80         "begin": [
81           3,
82           4
83         ],
84         "end": [
85           5,
86           5
87         ],
88         "filename": "$TEST_BASE_DIR/nested.rs"
89       },
90       "visibility": "public"
91     },
92     "0:5": {
93       "attrs": [],
94       "crate_id": 0,
95       "deprecation": null,
96       "docs": "",
97       "id": "0:5",
98       "inner": {
99         "fields": [],
100         "fields_stripped": false,
101         "generics": {
102           "params": [],
103           "where_predicates": []
104         },
105         "impls": [
106           "0:10",
107           "0:11",
108           "0:12",
109           "0:14",
110           "0:15"
111         ],
112         "struct_type": "unit"
113       },
114       "kind": "struct",
115       "links": {},
116       "name": "L4",
117       "source": {
118         "begin": [
119           4,
120           8
121         ],
122         "end": [
123           4,
124           22
125         ],
126         "filename": "$TEST_BASE_DIR/nested.rs"
127       },
128       "visibility": "public"
129     },
130     "0:7": {
131       "attrs": [],
132       "crate_id": 0,
133       "deprecation": null,
134       "docs": "",
135       "id": "0:7",
136       "inner": {
137         "glob": false,
138         "id": "0:5",
139         "name": "L4",
140         "span": "l3::L4"
141       },
142       "kind": "import",
143       "links": {},
144       "name": null,
145       "source": {
146         "begin": [
147           6,
148           4
149         ],
150         "end": [
151           6,
152           19
153         ],
154         "filename": "$TEST_BASE_DIR/nested.rs"
155       },
156       "visibility": "public"
157     }
158   },
159   "paths": {
160     "0:0": {
161       "crate_id": 0,
162       "kind": "module",
163       "path": [
164         "nested"
165       ]
166     },
167     "0:3": {
168       "crate_id": 0,
169       "kind": "module",
170       "path": [
171         "nested",
172         "l1"
173       ]
174     },
175     "0:4": {
176       "crate_id": 0,
177       "kind": "module",
178       "path": [
179         "nested",
180         "l1",
181         "l3"
182       ]
183     },
184     "0:5": {
185       "crate_id": 0,
186       "kind": "struct",
187       "path": [
188         "nested",
189         "l1",
190         "l3",
191         "L4"
192       ]
193     }
194   },
195   "root": "0:0"
196 }