We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c61a32a + eb2dd95 commit 4473fcdCopy full SHA for 4473fcd
src/test/rustdoc-js/reexport.js
@@ -0,0 +1,17 @@
1
+// exact-check
2
+
3
+const QUERY = ['Subscriber', 'AnotherOne'];
4
5
+const EXPECTED = [
6
+ {
7
+ 'others': [
8
+ { 'path': 'reexport::fmt', 'name': 'Subscriber' },
9
+ { 'path': 'reexport', 'name': 'FmtSubscriber' },
10
+ ],
11
+ },
12
13
14
+ { 'path': 'reexport', 'name': 'AnotherOne' },
15
16
17
+];
src/test/rustdoc-js/reexport.rs
@@ -0,0 +1,11 @@
+// This test enforces that the (renamed) reexports are present in the search results.
+pub mod fmt {
+ pub struct Subscriber;
+}
+mod foo {
+ pub struct AnotherOne;
+pub use foo::AnotherOne;
+pub use fmt::Subscriber as FmtSubscriber;
0 commit comments