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