summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/generics-unbox.js
blob: 9cdfc7ac8b6e5d6cbff8cd0c33cb9b56d0afd9e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// exact-check

const EXPECTED = [
    {
        'query': 'Inside<T> -> Out1<T>',
        'others': [
            { 'path': 'generics_unbox', 'name': 'alpha' },
        ],
    },
    {
        'query': 'Inside<T> -> Out3<T>',
        'others': [
            { 'path': 'generics_unbox', 'name': 'beta' },
            { 'path': 'generics_unbox', 'name': 'gamma' },
        ],
    },
    {
        'query': 'Inside<T> -> Out4<T>',
        'others': [
            { 'path': 'generics_unbox', 'name': 'beta' },
            { 'path': 'generics_unbox', 'name': 'gamma' },
        ],
    },
    {
        'query': 'Inside<T> -> Out3<U, T>',
        'others': [
            { 'path': 'generics_unbox', 'name': 'beta' },
            { 'path': 'generics_unbox', 'name': 'gamma' },
        ],
    },
    {
        'query': 'Inside<T> -> Out4<U, T>',
        'others': [
            { 'path': 'generics_unbox', 'name': 'beta' },
            { 'path': 'generics_unbox', 'name': 'gamma' },
        ],
    },
];