1
Fork 0

rustdoc: fix type search when more than one where clause applies

This commit is contained in:
Michael Howell 2023-03-07 11:21:12 -07:00
parent a6446c53fe
commit 44813e038c
4 changed files with 33 additions and 8 deletions

View file

@ -1,4 +1,4 @@
const QUERY = ['trait<nested>', '-> trait<nested>', 't1, t2', '-> shazam'];
const QUERY = ['trait<nested>', '-> trait<nested>', 't1, t2', '-> shazam', 'drizzel -> shazam'];
const EXPECTED = [
{
@ -19,6 +19,12 @@ const EXPECTED = [
{
'others': [
{ 'path': 'where_clause', 'name': 'bippety' },
{ 'path': 'where_clause::Drizzel', 'name': 'boppety' },
],
},
{
'others': [
{ 'path': 'where_clause::Drizzel', 'name': 'boppety' },
],
},
];