mirror of https://github.com/rust-lang/rust.git
44 lines
1.1 KiB
JavaScript
44 lines
1.1 KiB
JavaScript
// exact-check
|
|
|
|
const EXPECTED = [
|
|
{
|
|
'query': 'sac -> usize',
|
|
'others': [
|
|
{ 'path': 'full_path_function::b::Sac', 'name': 'len' },
|
|
{ 'path': 'full_path_function::sac::Sac', 'name': 'len' },
|
|
{ 'path': 'full_path_function::b::Sac', 'name': 'bar' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'b::sac -> usize',
|
|
'others': [
|
|
{ 'path': 'full_path_function::b::Sac', 'name': 'len' },
|
|
{ 'path': 'full_path_function::b::Sac', 'name': 'bar' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'b::sac -> u32',
|
|
'others': [
|
|
{ 'path': 'full_path_function::b::Sac', 'name': 'bar2' },
|
|
],
|
|
},
|
|
{
|
|
'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' },
|
|
],
|
|
},
|
|
];
|