mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
22 lines
532 B
JavaScript
22 lines
532 B
JavaScript
// ignore-order
|
|
|
|
const FILTER_CRATE = 'std';
|
|
|
|
const EXPECTED = {
|
|
'query': '"error"',
|
|
'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' },
|
|
],
|
|
};
|