]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/empty-mod-public.rs
Fix problem noticed in PR106859 with char -> u8 suggestion
[rust.git] / tests / rustdoc / empty-mod-public.rs
1 // @has 'empty_mod_public/index.html' '//a[@href="foo/index.html"]' 'foo'
2 // @hasraw 'empty_mod_public/sidebar-items.js' 'foo'
3 // @matches 'empty_mod_public/foo/index.html' '//h1' 'Module empty_mod_public::foo'
4 pub mod foo {}
5
6 // @has 'empty_mod_public/index.html' '//a[@href="bar/index.html"]' 'bar'
7 // @hasraw 'empty_mod_public/sidebar-items.js' 'bar'
8 // @matches 'empty_mod_public/bar/index.html' '//h1' 'Module empty_mod_public::bar'
9 pub mod bar {
10     // @has 'empty_mod_public/bar/index.html' '//a[@href="baz/index.html"]' 'baz'
11     // @hasraw 'empty_mod_public/bar/sidebar-items.js' 'baz'
12     // @matches 'empty_mod_public/bar/baz/index.html' '//h1' 'Module empty_mod_public::bar::baz'
13     pub mod baz {}
14 }