rust/tests/rustdoc-js-std/doc-alias-use.js
binarycat 8d18f3d609 add doc(alias("AsciiChar")) to core::ascii::Char
Added it to the reexported, which is intended
rustdoc behavior, but is apparently untested,
so I also added a test for it.
2025-06-20 11:11:51 -05:00

13 lines
311 B
JavaScript

// AsciiChar has a doc alias on its reexport and we
// want to make sure that actually works correctly,
// since apperently there are no other tests for this.
const EXPECTED = [
{
'query': 'AsciiChar',
'others': [
{ 'path': 'core::ascii', 'name': 'Char' },
],
},
];