| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 | // make sure quoted search works both for items and and without generics
// ignore-order
const FILTER_CRATE = 'std';
const EXPECTED = {
    'query': '"result"',
    'others': [
        { 'path': 'std', 'name': 'result' },
        { 'path': 'std::result', 'name': 'Result' },
        { 'path': 'std::fmt', 'name': 'Result' },
    ],
    'in_args': [
        { 'path': 'std::result::Result', 'name': 'branch' },
        { 'path': 'std::result::Result', 'name': 'ok' },
        { 'path': 'std::result::Result', 'name': 'unwrap' },
    ],
    'returned': [
        { 'path': 'std::bool', 'name': 'try_into' },
    ],
};
 |