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:
Jacob Pratt 2024-11-17 22:30:50 -05:00 committed by GitHub
commit 8600e579d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,7 @@
// exact-check
const EXPECTED = {
'query': 'inner::',
'others': [
{ 'path': 'trailing::inner', 'name': 'function' },
],
}

View File

@ -0,0 +1,3 @@
pub mod inner {
pub fn function() {}
}