We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfd5a26 commit 04a1dd1Copy full SHA for 04a1dd1
tests/rustdoc-js/literal-path.js
@@ -0,0 +1,23 @@
1
+// exact-check
2
+
3
+// This test ensures that literal search is always applied on elements of the path.
4
5
+const EXPECTED = [
6
+ {
7
+ 'query': '"some::path"',
8
+ 'others': [
9
+ { 'path': 'literal_path::some', 'name': 'Path' },
10
+ ],
11
+ },
12
13
+ 'query': '"somea::path"',
14
15
+ { 'path': 'literal_path::somea', 'name': 'Path' },
16
17
18
19
+ 'query': '"soma::path"',
20
21
22
23
+];
tests/rustdoc-js/literal-path.rs
@@ -0,0 +1,7 @@
+pub mod some {
+ pub struct Path;
+}
+pub mod somea {
0 commit comments