Skip to content

Commit fa2e214

Browse files
committed
rustdoc-search: add standalone trailing :: test
Follow up for rust-lang#132569
1 parent 1e0df74 commit fa2e214

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tests/rustdoc-js/trailing.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// exact-check
2+
const EXPECTED = {
3+
'query': 'inner::',
4+
'others': [
5+
{ 'path': 'trailing::inner', 'name': 'function' },
6+
],
7+
}

tests/rustdoc-js/trailing.rs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pub mod inner {
2+
pub fn function() {}
3+
}

0 commit comments

Comments
 (0)