summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/generics-trait.js
blob: 7876622435b609ec410e47c16ded03534d2fcd71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
const QUERY = [
    'Result<SomeTrait>',
    'OtherThingxxxxxxxx',
];

const EXPECTED = [
    {
        'in_args': [
            { 'path': 'generics_trait', 'name': 'beta' },
        ],
        'returned': [
            { 'path': 'generics_trait', 'name': 'bet' },
        ],
    },
    {
        'in_args': [
            { 'path': 'generics_trait', 'name': 'alpha' },
        ],
        'returned': [
            { 'path': 'generics_trait', 'name': 'alef' },
        ],
    },
];