rust/tests/rustdoc-js-std/quoted.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
533 B
JavaScript
Raw Normal View History

2021-08-11 13:14:26 -05:00
// ignore-order
2018-01-22 15:49:44 -06:00
const QUERY = '"error"';
2021-08-11 13:14:26 -05:00
const FILTER_CRATE = 'std';
2018-01-22 15:49:44 -06:00
const EXPECTED = {
'others': [
{ 'path': 'std', 'name': 'error' },
{ 'path': 'std::fmt', 'name': 'Error' },
{ 'path': 'std::io', 'name': 'Error' },
],
2021-08-11 13:14:26 -05:00
'in_args': [
{ 'path': 'std::fmt::Error', 'name': 'eq' },
{ 'path': 'std::fmt::Error', 'name': 'cmp' },
{ 'path': 'std::fmt::Error', 'name': 'partial_cmp' },
],
2018-01-22 15:49:44 -06:00
'returned': [
{ 'path': 'std::fmt::LowerExp', 'name': 'fmt' },
],
};