2025-09-02 11:41:21 -05:00
|
|
|
// make sure quoted search works both for items and and without generics
|
2021-08-11 20:14:26 +02:00
|
|
|
// ignore-order
|
|
|
|
|
|
|
|
|
|
const FILTER_CRATE = 'std';
|
2018-01-22 22:49:44 +01:00
|
|
|
|
|
|
|
|
const EXPECTED = {
|
2025-09-02 11:41:21 -05:00
|
|
|
'query': '"result"',
|
2018-01-22 22:49:44 +01:00
|
|
|
'others': [
|
2025-09-02 11:41:21 -05:00
|
|
|
{ 'path': 'std', 'name': 'result' },
|
|
|
|
|
{ 'path': 'std::result', 'name': 'Result' },
|
|
|
|
|
{ 'path': 'std::fmt', 'name': 'Result' },
|
2018-01-22 22:49:44 +01:00
|
|
|
],
|
2021-08-11 20:14:26 +02:00
|
|
|
'in_args': [
|
2025-09-02 11:41:21 -05:00
|
|
|
{ 'path': 'std::result::Result', 'name': 'branch' },
|
|
|
|
|
{ 'path': 'std::result::Result', 'name': 'ok' },
|
|
|
|
|
{ 'path': 'std::result::Result', 'name': 'unwrap' },
|
2021-08-11 20:14:26 +02:00
|
|
|
],
|
2018-01-22 22:49:44 +01:00
|
|
|
'returned': [
|
2025-09-02 11:41:21 -05:00
|
|
|
{ 'path': 'std::bool', 'name': 'try_into' },
|
2018-01-22 22:49:44 +01:00
|
|
|
],
|
|
|
|
|
};
|