Skip to content
/ rust Public
forked from rust-lang/rust

Commit 8600e57

Browse files
authored
Rollup merge of rust-lang#133133 - notriddle:notriddle/trailing-test, r=GuillaumeGomez
rustdoc-search: add standalone trailing `::` test Follow up for rust-lang#132569 r? `@GuillaumeGomez`
2 parents fc4f71d + fa2e214 commit 8600e57

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)