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 18:14:26 +00:00
// ignore-order
2018-01-22 21:49:44 +00:00
const QUERY = '"error"';
2021-08-11 18:14:26 +00:00
const FILTER_CRATE = 'std';
2018-01-22 21:49:44 +00:00
const EXPECTED = {
'others': [
{ 'path': 'std', 'name': 'error' },
{ 'path': 'std::fmt', 'name': 'Error' },
{ 'path': 'std::io', 'name': 'Error' },
],
2021-08-11 18:14:26 +00: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 21:49:44 +00:00
'returned': [
{ 'path': 'std::fmt::LowerExp', 'name': 'fmt' },
],
};