mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 22:34:05 +00:00
Rollup merge of #133133 - notriddle:notriddle/trailing-test, r=GuillaumeGomez
rustdoc-search: add standalone trailing `::` test Follow up for #132569 r? `@GuillaumeGomez`
This commit is contained in:
commit
8600e579d5
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