about summary refs log tree commit diff
path: root/tests/rustdoc-js/self-is-not-generic.js
blob: 0fdf5b4117d8f7347242d6fc7fabdda0167326c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// exact-check

const EXPECTED = [
    {
        'query': 'A -> A',
        'others': [
            { 'path': 'self_is_not_generic::Thing', 'name': 'from' }
        ],
    },
    {
        'query': 'A -> B',
        'others': [
            { 'path': 'self_is_not_generic::Thing', 'name': 'try_from' }
        ],
    },
    {
        'query': 'Combine -> Combine',
        'others': [
            { 'path': 'self_is_not_generic::Combine', 'name': 'combine' }
        ],
    }
];