mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +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' },
|
|
],
|
|
},
|
|
];
|