Correctly handle paths from foreign items
This commit is contained in:
parent
36fa557a5e
commit
e161fa1a6b
3 changed files with 65 additions and 11 deletions
|
@ -22,4 +22,22 @@ const EXPECTED = [
|
|||
{ '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' },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue