summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-js-std/quoted.js
blob: aec8484a41f6dcb6e27ad2cee6a0247163bdc4d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// ignore-order

const QUERY = '"error"';
const FILTER_CRATE = 'std';

const EXPECTED = {
    'others': [
        { 'path': 'std', 'name': 'error' },
        { 'path': 'std::fmt', 'name': 'Error' },
        { 'path': 'std::io', 'name': 'Error' },
    ],
    'in_args': [
        { 'path': 'std::fmt::Error', 'name': 'eq' },
        { 'path': 'std::fmt::Error', 'name': 'cmp' },
        { 'path': 'std::fmt::Error', 'name': 'partial_cmp' },

    ],
    'returned': [
        { 'path': 'std::fmt::LowerExp', 'name': 'fmt' },
    ],
};