2017-10-17 13:54:46 -04:00
|
|
|
//@ compile-flags: --document-private-items
|
2017-06-11 13:28:45 +01:00
|
|
|
|
2024-06-21 14:03:08 +02:00
|
|
|
//@ has 'empty_mod_private/index.html' '//a[@href="foo/index.html"]' 'foo'
|
|
|
|
//@ hasraw 'empty_mod_private/sidebar-items.js' 'foo'
|
2024-09-02 19:42:28 -07:00
|
|
|
//@ matches 'empty_mod_private/foo/index.html' '//h1' 'Module foo'
|
2024-09-10 22:03:54 -07:00
|
|
|
//@ matches - '//*[@class="rustdoc-breadcrumbs"]' 'empty_mod_private'
|
2017-06-11 13:28:45 +01:00
|
|
|
mod foo {}
|
|
|
|
|
2024-06-21 14:03:08 +02:00
|
|
|
//@ has 'empty_mod_private/index.html' '//a[@href="bar/index.html"]' 'bar'
|
|
|
|
//@ hasraw 'empty_mod_private/sidebar-items.js' 'bar'
|
2024-09-02 19:42:28 -07:00
|
|
|
//@ matches 'empty_mod_private/bar/index.html' '//h1' 'Module bar'
|
2024-09-10 22:03:54 -07:00
|
|
|
//@ matches - '//*[@class="rustdoc-breadcrumbs"]' 'empty_mod_private'
|
2017-06-11 13:28:45 +01:00
|
|
|
mod bar {
|
2024-06-21 14:03:08 +02:00
|
|
|
//@ has 'empty_mod_private/bar/index.html' '//a[@href="baz/index.html"]' 'baz'
|
|
|
|
//@ hasraw 'empty_mod_private/bar/sidebar-items.js' 'baz'
|
2024-09-02 19:42:28 -07:00
|
|
|
//@ matches 'empty_mod_private/bar/baz/index.html' '//h1' 'Module baz'
|
2024-09-10 22:03:54 -07:00
|
|
|
//@ matches - '//*[@class="rustdoc-breadcrumbs"]' 'empty_mod_private::bar'
|
2017-06-11 13:28:45 +01:00
|
|
|
mod baz {}
|
|
|
|
}
|