mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
33 lines
599 B
JavaScript
33 lines
599 B
JavaScript
// exact-check
|
|
|
|
const EXPECTED = [
|
|
{
|
|
'query': 'i32',
|
|
'in_args': [
|
|
{ 'path': 'primitive', 'name': 'foo' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'str',
|
|
'returned': [
|
|
{ 'path': 'primitive', 'name': 'foo' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'primitive:str',
|
|
'returned': [
|
|
{ 'path': 'primitive', 'name': 'foo' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'struct:str',
|
|
'returned': [],
|
|
},
|
|
{
|
|
'query': 'TotoIsSomewhere',
|
|
'others': [],
|
|
'in_args': [],
|
|
'returned': [],
|
|
},
|
|
];
|