2023-10-06 05:32:37 +00:00
|
|
|
// exact-check
|
2022-05-31 18:12:02 +00:00
|
|
|
// ignore-order
|
|
|
|
|
|
|
|
const EXPECTED = [
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
'query': 'Aaaaaaa -> i32',
|
2022-05-31 18:12:02 +00:00
|
|
|
'others': [
|
|
|
|
{ 'path': 'impl_trait::Ccccccc', 'name': 'eeeeeee' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
'query': 'Aaaaaaa -> Aaaaaaa',
|
2022-05-31 18:12:02 +00:00
|
|
|
'others': [
|
|
|
|
{ 'path': 'impl_trait::Ccccccc', 'name': 'fffffff' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
'query': 'Aaaaaaa -> usize',
|
2022-05-31 18:12:02 +00:00
|
|
|
'others': [],
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
'query': '-> Aaaaaaa',
|
2022-05-31 18:12:02 +00:00
|
|
|
'others': [
|
|
|
|
{ 'path': 'impl_trait', 'name': 'bbbbbbb' },
|
2023-10-06 05:32:37 +00:00
|
|
|
{ 'path': 'impl_trait::Ccccccc', 'name': 'ddddddd' },
|
|
|
|
{ 'path': 'impl_trait::Ccccccc', 'name': 'fffffff' },
|
|
|
|
{ 'path': 'impl_trait::Ccccccc', 'name': 'ggggggg' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'query': '-> Bbbbbbb',
|
|
|
|
'others': [
|
|
|
|
{ 'path': 'impl_trait::Ccccccc', 'name': 'ggggggg' },
|
2022-05-31 18:12:02 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
'query': 'Aaaaaaa',
|
2022-05-31 18:12:02 +00:00
|
|
|
'others': [
|
|
|
|
{ 'path': 'impl_trait', 'name': 'Aaaaaaa' },
|
|
|
|
],
|
|
|
|
'in_args': [
|
|
|
|
{ 'path': 'impl_trait::Ccccccc', 'name': 'eeeeeee' },
|
2023-10-06 05:32:37 +00:00
|
|
|
{ 'path': 'impl_trait::Ccccccc', 'name': 'fffffff' },
|
2022-05-31 18:12:02 +00:00
|
|
|
],
|
|
|
|
'returned': [
|
|
|
|
{ 'path': 'impl_trait', 'name': 'bbbbbbb' },
|
2023-10-06 05:32:37 +00:00
|
|
|
{ 'path': 'impl_trait::Ccccccc', 'name': 'ddddddd' },
|
|
|
|
{ 'path': 'impl_trait::Ccccccc', 'name': 'fffffff' },
|
|
|
|
{ 'path': 'impl_trait::Ccccccc', 'name': 'ggggggg' },
|
2022-05-31 18:12:02 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
];
|