2023-09-09 18:49:29 -05:00
|
|
|
// ignore-order
|
|
|
|
|
|
|
|
const FILTER_CRATE = "std";
|
|
|
|
|
|
|
|
const EXPECTED = [
|
|
|
|
{
|
|
|
|
'query': 'vec::intoiter<T> -> [T]',
|
|
|
|
'others': [
|
|
|
|
{ 'path': 'std::vec::IntoIter', 'name': 'as_slice' },
|
|
|
|
{ 'path': 'std::vec::IntoIter', 'name': 'as_mut_slice' },
|
|
|
|
{ 'path': 'std::vec::IntoIter', 'name': 'next_chunk' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'query': 'vec::intoiter<T> -> []',
|
|
|
|
'others': [
|
|
|
|
{ 'path': 'std::vec::IntoIter', 'name': 'as_slice' },
|
|
|
|
{ 'path': 'std::vec::IntoIter', 'name': 'as_mut_slice' },
|
|
|
|
{ 'path': 'std::vec::IntoIter', 'name': 'next_chunk' },
|
|
|
|
],
|
|
|
|
},
|
2024-09-24 20:18:01 -05:00
|
|
|
{
|
|
|
|
'query': 'vec<T, Allocator> -> Box<[T]>',
|
|
|
|
'others': [
|
|
|
|
{
|
|
|
|
'path': 'std::boxed::Box',
|
|
|
|
'name': 'from',
|
|
|
|
'displayType': '`Vec`<`T`, `A`> -> `Box`<`[T]`, A>',
|
|
|
|
'displayMappedNames': `T = T`,
|
|
|
|
'displayWhereClause': 'A: `Allocator`',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2023-09-09 18:49:29 -05:00
|
|
|
];
|