2023-09-01 12:31:01 +00:00
|
|
|
// exact-check
|
|
|
|
|
|
|
|
const EXPECTED = [
|
|
|
|
{
|
|
|
|
'query': 'sac -> usize',
|
|
|
|
'others': [
|
|
|
|
{ 'path': 'full_path_function::b::Sac', 'name': 'bar' },
|
|
|
|
{ 'path': 'full_path_function::b::Sac', 'name': 'len' },
|
|
|
|
{ 'path': 'full_path_function::sac::Sac', 'name': 'len' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'query': 'b::sac -> usize',
|
|
|
|
'others': [
|
|
|
|
{ 'path': 'full_path_function::b::Sac', 'name': 'bar' },
|
|
|
|
{ 'path': 'full_path_function::b::Sac', 'name': 'len' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'query': 'b::sac -> u32',
|
|
|
|
'others': [
|
|
|
|
{ 'path': 'full_path_function::b::Sac', 'name': 'bar2' },
|
|
|
|
],
|
|
|
|
},
|
2023-09-02 21:04:37 +00:00
|
|
|
{
|
|
|
|
'query': 'string::string -> u32',
|
|
|
|
'others': [
|
|
|
|
{ 'path': 'full_path_function::b::Sac', 'name': 'string' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'query': 'alloc::string::string -> u32',
|
|
|
|
'others': [
|
|
|
|
{ 'path': 'full_path_function::b::Sac', 'name': 'string' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'query': 'alloc::string -> u32',
|
|
|
|
'others': [
|
|
|
|
{ 'path': 'full_path_function::b::Sac', 'name': 'string' },
|
|
|
|
],
|
|
|
|
},
|
2023-09-01 12:31:01 +00:00
|
|
|
];
|