rust/tests/rustdoc-js/generics-impl.js

59 lines
1.4 KiB
JavaScript
Raw Normal View History

// exact-check
const EXPECTED = [
{
2023-06-09 09:49:38 -05:00
'query': 'Aaaaaaa -> u32',
'others': [
{ 'path': 'generics_impl::Aaaaaaa', 'name': 'bbbbbbb' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': 'Aaaaaaa -> bool',
'others': [
{ 'path': 'generics_impl::Aaaaaaa', 'name': 'ccccccc' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': 'Aaaaaaa -> usize',
'others': [
{ 'path': 'generics_impl::Aaaaaaa', 'name': 'read' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': 'Read -> u64',
'others': [
{ 'path': 'generics_impl::Ddddddd', 'name': 'eeeeeee' },
{ 'path': 'generics_impl::Ddddddd', 'name': 'ggggggg' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': 'trait:Read -> u64',
'others': [
{ 'path': 'generics_impl::Ddddddd', 'name': 'eeeeeee' },
{ 'path': 'generics_impl::Ddddddd', 'name': 'ggggggg' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': 'struct:Read -> u64',
'others': [],
},
{
2023-06-09 09:49:38 -05:00
'query': 'bool -> u64',
'others': [
{ 'path': 'generics_impl::Ddddddd', 'name': 'fffffff' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': 'Ddddddd -> u64',
'others': [
{ 'path': 'generics_impl::Ddddddd', 'name': 'ggggggg' },
],
},
{
2023-06-09 09:49:38 -05:00
'query': '-> Ddddddd',
'others': [
{ 'path': 'generics_impl::Ddddddd', 'name': 'hhhhhhh' },
],
},
];