mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
45 lines
1.1 KiB
JavaScript
45 lines
1.1 KiB
JavaScript
// exact-check
|
|
|
|
const EXPECTED = [
|
|
{
|
|
'query': 'Result<SomeTrait>',
|
|
'correction': null,
|
|
'in_args': [
|
|
{ 'path': 'generics_trait', 'name': 'beta' },
|
|
],
|
|
'returned': [
|
|
{ 'path': 'generics_trait', 'name': 'bet' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'Resulx<SomeTrait>',
|
|
'in_args': [],
|
|
'returned': [],
|
|
},
|
|
{
|
|
'query': 'Result<SomeTraiz>',
|
|
'proposeCorrectionFrom': 'SomeTraiz',
|
|
'proposeCorrectionTo': 'SomeTrait',
|
|
},
|
|
{
|
|
'query': 'OtherThingxxxxxxxx',
|
|
'correction': null,
|
|
'in_args': [
|
|
{ 'path': 'generics_trait', 'name': 'alpha' },
|
|
],
|
|
'returned': [
|
|
{ 'path': 'generics_trait', 'name': 'alef' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'OtherThingxxxxxxxy',
|
|
'correction': 'OtherThingxxxxxxxx',
|
|
'in_args': [
|
|
{ 'path': 'generics_trait', 'name': 'alpha' },
|
|
],
|
|
'returned': [
|
|
{ 'path': 'generics_trait', 'name': 'alef' },
|
|
],
|
|
},
|
|
];
|