]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/inline_local/glob-private.rs
Rollup merge of #106726 - cmorin6:fix-comment-typos, r=Nilstrieb
[rust.git] / tests / rustdoc / inline_local / glob-private.rs
1 #![crate_name = "foo"]
2
3 mod mod1 {
4     mod mod2 {
5         pub struct Mod2Public;
6         struct Mod2Private;
7     }
8     pub use self::mod2::*;
9
10     pub struct Mod1Public;
11     struct Mod1Private;
12 }
13 pub use mod1::*;
14
15 // @has foo/index.html
16 // @!hasraw - "mod1"
17 // @hasraw - "Mod1Public"
18 // @!hasraw - "Mod1Private"
19 // @!hasraw - "mod2"
20 // @hasraw - "Mod2Public"
21 // @!hasraw - "Mod2Private"
22 // @has foo/struct.Mod1Public.html
23 // @!has foo/struct.Mod1Private.html
24 // @has foo/struct.Mod2Public.html
25 // @!has foo/struct.Mod2Private.html
26
27 // @has-dir foo/mod1
28 // @!has foo/mod1/index.html
29 // @has foo/mod1/struct.Mod1Public.html
30 // @!has foo/mod1/struct.Mod1Private.html
31 // @!has foo/mod1/struct.Mod2Public.html
32 // @!has foo/mod1/struct.Mod2Private.html
33
34 // @has-dir foo/mod1/mod2
35 // @!has foo/mod1/mod2/index.html
36 // @has foo/mod1/mod2/struct.Mod2Public.html
37 // @!has foo/mod1/mod2/struct.Mod2Private.html
38
39 // @!has-dir foo/mod2
40 // @!has foo/mod2/index.html
41 // @!has foo/mod2/struct.Mod2Public.html
42 // @!has foo/mod2/struct.Mod2Private.html