rust/tests/rustdoc-js/where-clause.js

34 lines
784 B
JavaScript
Raw Normal View History

const EXPECTED = [
{
2023-06-09 09:49:38 -05:00
'query': 'trait<nested>',
'in_args': [
{ 'path': 'where_clause', 'name': 'abracadabra' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': '-> trait<nested>',
'others': [
{ 'path': 'where_clause', 'name': 'alacazam' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': 't1, t2',
'others': [
{ 'path': 'where_clause', 'name': 'presto' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': '-> shazam',
'others': [
{ 'path': 'where_clause', 'name': 'bippety' },
{ 'path': 'where_clause::Drizzel', 'name': 'boppety' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': 'drizzel -> shazam',
'others': [
{ 'path': 'where_clause::Drizzel', 'name': 'boppety' },
],
},
];