]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-js/generics-multi-trait.js
Rollup merge of #104672 - Voultapher:unify-sort-modules, r=thomcc
[rust.git] / tests / rustdoc-js / generics-multi-trait.js
1 // exact-check
2
3 const QUERY = [
4     'Result<SomeTrait>',
5     'Zzzzzzzzzzzzzzzzzz',
6     'Nonononononononono',
7 ];
8
9 const EXPECTED = [
10     // check one of the generic items
11     {
12         'in_args': [
13             { 'path': 'generics_multi_trait', 'name': 'beta' },
14         ],
15         'returned': [
16             { 'path': 'generics_multi_trait', 'name': 'bet' },
17         ],
18     },
19     {
20         'in_args': [
21             { 'path': 'generics_multi_trait', 'name': 'beta' },
22         ],
23         'returned': [
24             { 'path': 'generics_multi_trait', 'name': 'bet' },
25         ],
26     },
27     // ignore the name of the generic itself
28     {
29         'in_args': [],
30         'returned': [],
31     },
32 ];