about summary refs log tree commit diff
path: root/tests/rustdoc-js/generics-unbox.js
blob: a4f2ba8e3a6382396ffe8a6d09c1d62f640d24d5 (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
39
40
// 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' },
        ],
    },
    {
        'query': 'Inside<T> -> Out4<T>',
        'others': [
            { 'path': 'generics_unbox', 'name': 'gamma' },
        ],
    },
    {
        'query': 'Inside<T> -> Out3<U, T>',
        'others': [
            { 'path': 'generics_unbox', 'name': 'gamma' },
        ],
    },
    {
        'query': 'Inside<T> -> Out4<U, T>',
        'others': [
            { 'path': 'generics_unbox', 'name': 'beta' },
        ],
    },
    {
        'query': '-> Sigma',
        'others': [
            { 'path': 'generics_unbox', 'name': 'delta' },
        ],
    },
];