File tree 2 files changed +12
-1
lines changed
src/librustdoc/html/static/js
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -1433,7 +1433,7 @@ function initSearch(rawSearchIndex) {
1433
1433
return true ;
1434
1434
}
1435
1435
} else if ( unifyFunctionTypes (
1436
- fnType . generics ,
1436
+ [ ... fnType . generics , ... Array . from ( fnType . bindings . values ( ) ) . flat ( ) ] ,
1437
1437
queryElems ,
1438
1438
whereClause ,
1439
1439
mgens ? new Map ( mgens ) : null ,
Original file line number Diff line number Diff line change @@ -19,6 +19,17 @@ const EXPECTED = [
19
19
{ 'path' : 'assoc_type::my' , 'name' : 'other_fn' } ,
20
20
] ,
21
21
} ,
22
+ {
23
+ 'query' : 'something' ,
24
+ 'correction' : null ,
25
+ 'others' : [
26
+ { 'path' : 'assoc_type' , 'name' : 'Something' } ,
27
+ ] ,
28
+ 'in_args' : [
29
+ { 'path' : 'assoc_type' , 'name' : 'my_fn' } ,
30
+ { 'path' : 'assoc_type::my' , 'name' : 'other_fn' } ,
31
+ ] ,
32
+ } ,
22
33
// if I write an explicit binding, only it shows up
23
34
{
24
35
'query' : 'iterator<item=something> -> u32' ,
You can’t perform that action at this time.
0 commit comments