mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
parent
1e0df74445
commit
fa2e214a43
7
tests/rustdoc-js/trailing.js
Normal file
7
tests/rustdoc-js/trailing.js
Normal file
@ -0,0 +1,7 @@
|
||||
// exact-check
|
||||
const EXPECTED = {
|
||||
'query': 'inner::',
|
||||
'others': [
|
||||
{ 'path': 'trailing::inner', 'name': 'function' },
|
||||
],
|
||||
}
|
3
tests/rustdoc-js/trailing.rs
Normal file
3
tests/rustdoc-js/trailing.rs
Normal file
@ -0,0 +1,3 @@
|
||||
pub mod inner {
|
||||
pub fn function() {}
|
||||
}
|
Loading…
Reference in New Issue
Block a user