mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
30 lines
707 B
JavaScript
30 lines
707 B
JavaScript
// exact-check
|
|
|
|
const EXPECTED = [
|
|
// check one of the generic items
|
|
{
|
|
'query': 'Result<SomeTrait>',
|
|
'in_args': [
|
|
{ 'path': 'generics_multi_trait', 'name': 'beta' },
|
|
],
|
|
'returned': [
|
|
{ 'path': 'generics_multi_trait', 'name': 'bet' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'Zzzzzzzzzzzzzzzzzz',
|
|
'in_args': [
|
|
{ 'path': 'generics_multi_trait', 'name': 'beta' },
|
|
],
|
|
'returned': [
|
|
{ 'path': 'generics_multi_trait', 'name': 'bet' },
|
|
],
|
|
},
|
|
// ignore the name of the generic itself
|
|
{
|
|
'query': 'Nonononononononono',
|
|
'in_args': [],
|
|
'returned': [],
|
|
},
|
|
];
|