]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-js-std/primitive.js
Rollup merge of #107777 - compiler-errors:derive_const-actually-derive-const, r=fee1...
[rust.git] / tests / rustdoc-js-std / primitive.js
1 const QUERY = [
2     'i8',
3     'u32',
4     'str',
5     'char',
6     'unit',
7     'tuple',
8     'fn',
9 ];
10
11 const EXPECTED = [
12     {
13         'others': [
14             {
15                 'path': 'std',
16                 'name': 'i8',
17                 'href': '../std/primitive.i8.html',
18             },
19         ]
20     },
21     {
22         'others': [
23             {
24                 'path': 'std',
25                 'name': 'u32',
26                 'href': '../std/primitive.u32.html',
27             },
28         ]
29     },
30     {
31         'others': [
32             {
33                 'path': 'std',
34                 'name': 'str',
35                 'href': '../std/primitive.str.html',
36             },
37         ]
38     },
39     {
40         'others': [
41             {
42                 'path': 'std',
43                 'name': 'char',
44                 'href': '../std/primitive.char.html',
45             },
46         ]
47     },
48     {
49         'others': [
50             {
51                 'path': 'std',
52                 'name': 'unit',
53                 'href': '../std/primitive.unit.html',
54             },
55         ]
56     },
57     {
58         'others': [
59             {
60                 'path': 'std',
61                 'name': 'tuple',
62                 'href': '../std/primitive.tuple.html',
63             },
64         ]
65     },
66     {
67         'others': [
68             {
69                 'path': 'std',
70                 'name': 'fn',
71                 'href': '../std/primitive.fn.html',
72             },
73         ]
74     },
75 ];