mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
39 lines
996 B
JavaScript
39 lines
996 B
JavaScript
// exact-check
|
|
|
|
const EXPECTED = [
|
|
{
|
|
'query': 'Inside<T> -> Out1<T>',
|
|
'others': [
|
|
{ 'path': 'generics_unbox', 'name': 'alpha' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'Inside<T> -> Out3<T>',
|
|
'others': [
|
|
{ 'path': 'generics_unbox', 'name': 'beta' },
|
|
{ 'path': 'generics_unbox', 'name': 'gamma' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'Inside<T> -> Out4<T>',
|
|
'others': [
|
|
{ 'path': 'generics_unbox', 'name': 'beta' },
|
|
{ 'path': 'generics_unbox', 'name': 'gamma' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'Inside<T> -> Out3<U, T>',
|
|
'others': [
|
|
{ 'path': 'generics_unbox', 'name': 'beta' },
|
|
{ 'path': 'generics_unbox', 'name': 'gamma' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'Inside<T> -> Out4<U, T>',
|
|
'others': [
|
|
{ 'path': 'generics_unbox', 'name': 'beta' },
|
|
{ 'path': 'generics_unbox', 'name': 'gamma' },
|
|
],
|
|
},
|
|
];
|