summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/search-method-disambiguate.js
blob: 70aa895f99458c6770963e0f0a5fc980b295102b (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
// exact-check
// ignore-order
// ignore-tidy-linelength

const FILTER_CRATE = "search_method_disambiguate";

const EXPECTED = [
    {
        'query': 'MyTy -> bool',
        'others': [
            {
                'path': 'search_method_disambiguate::MyTy',
                'name': 'my_method',
                'href': '../search_method_disambiguate/struct.MyTy.html#impl-X-for-MyTy%3Cbool%3E/method.my_method'
            },
        ],
    },
    {
        'query': 'MyTy -> u8',
        'others': [
            {
                'path': 'search_method_disambiguate::MyTy',
                'name': 'my_method',
                'href': '../search_method_disambiguate/struct.MyTy.html#impl-X-for-MyTy%3Cu8%3E/method.my_method'
            },
        ],
    }
];