mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
57 lines
1.4 KiB
JavaScript
57 lines
1.4 KiB
JavaScript
// exact-check
|
|
|
|
const EXPECTED = [
|
|
{
|
|
'query': '-> !',
|
|
'others': [
|
|
{ 'path': 'never_search', 'name': 'loops' },
|
|
],
|
|
},
|
|
{
|
|
'query': '-> never',
|
|
'others': [
|
|
{ 'path': 'never_search', 'name': 'loops' },
|
|
{ 'path': 'never_search', 'name': 'returns' },
|
|
],
|
|
},
|
|
{
|
|
'query': '!',
|
|
'in_args': [
|
|
{ 'path': 'never_search', 'name': 'impossible' },
|
|
{ 'path': 'never_search', 'name': 'box_impossible' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'never',
|
|
'in_args': [
|
|
{ 'path': 'never_search', 'name': 'impossible' },
|
|
{ 'path': 'never_search', 'name': 'uninteresting' },
|
|
{ 'path': 'never_search', 'name': 'box_impossible' },
|
|
{ 'path': 'never_search', 'name': 'box_uninteresting' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'box<!>',
|
|
'in_args': [
|
|
{ 'path': 'never_search', 'name': 'box_impossible' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'box<never>',
|
|
'in_args': [
|
|
{ 'path': 'never_search', 'name': 'box_impossible' },
|
|
{ 'path': 'never_search', 'name': 'box_uninteresting' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'box<item=!>',
|
|
'in_args': [],
|
|
'returned': [],
|
|
},
|
|
{
|
|
'query': 'box<item=never>',
|
|
'in_args': [],
|
|
'returned': [],
|
|
},
|
|
];
|