rust/tests/rustdoc-js/generics-nested.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
524 B
JavaScript
Raw Permalink Normal View History

// exact-check
const EXPECTED = [
{
2023-06-09 09:49:38 -05:00
'query': '-> Out<First<Second>>',
'others': [
{ 'path': 'generics_nested', 'name': 'alef' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': '-> Out<Second<First>>',
'others': [],
},
{
2023-06-09 09:49:38 -05:00
'query': '-> Out<First, Second>',
'others': [
{ 'path': 'generics_nested', 'name': 'bet' },
],
},
{
// can't put generics out of order
2023-06-09 09:49:38 -05:00
'query': '-> Out<Second, First>',
'others': [],
},
];