mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
34 lines
648 B
JavaScript
34 lines
648 B
JavaScript
// exact-check
|
|
|
|
const QUERY = [
|
|
'-> Out<First<Second>>',
|
|
'-> Out<Second<First>>',
|
|
'-> Out<First, Second>',
|
|
'-> Out<Second, First>',
|
|
];
|
|
|
|
const EXPECTED = [
|
|
{
|
|
// -> Out<First<Second>>
|
|
'others': [
|
|
{ 'path': 'generics_nested', 'name': 'alef' },
|
|
],
|
|
},
|
|
{
|
|
// -> Out<Second<First>>
|
|
'others': [],
|
|
},
|
|
{
|
|
// -> Out<First, Second>
|
|
'others': [
|
|
{ 'path': 'generics_nested', 'name': 'bet' },
|
|
],
|
|
},
|
|
{
|
|
// -> Out<Second, First>
|
|
'others': [
|
|
{ 'path': 'generics_nested', 'name': 'bet' },
|
|
],
|
|
},
|
|
];
|