rust/tests/rustdoc-js/reexport.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
739 B
JavaScript
Raw Normal View History

// exact-check
const EXPECTED = [
{
2023-06-09 16:49:38 +02:00
'query': 'Subscriber',
'others': [
{ 'path': 'reexport::fmt', 'name': 'Subscriber' },
{ 'path': 'reexport', 'name': 'FmtSubscriber' },
],
},
{
2023-06-09 16:49:38 +02:00
'query': 'AnotherOne',
'others': [
{ 'path': 'reexport', 'name': 'AnotherOne' },
],
},
{
'query': 'fn:Equivalent::equivalent',
'others': [
// These results must never contain `reexport::equivalent::NotEquivalent`,
// since that path does not exist.
{ 'path': 'equivalent::Equivalent', 'name': 'equivalent' },
{ 'path': 'reexport::NotEquivalent', 'name': 'equivalent' },
],
},
];