1 // Copyright 2016 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
11 #![crate_name = "foo"]
15 pub struct Mod2Public;
18 pub use self::mod2::*;
20 pub struct Mod1Public;
25 // @has foo/index.html
27 // @has - "Mod1Public"
28 // @!has - "Mod1Private"
30 // @has - "Mod2Public"
31 // @!has - "Mod2Private"
32 // @has foo/struct.Mod1Public.html
33 // @!has foo/struct.Mod1Private.html
34 // @has foo/struct.Mod2Public.html
35 // @!has foo/struct.Mod2Private.html
37 // @!has foo/mod1/index.html
38 // @has foo/mod1/struct.Mod1Public.html
39 // @!has foo/mod1/struct.Mod1Private.html
40 // @!has foo/mod1/struct.Mod2Public.html
41 // @!has foo/mod1/struct.Mod2Private.html
43 // @!has foo/mod1/mod2/index.html
44 // @has foo/mod1/mod2/struct.Mod2Public.html
45 // @!has foo/mod1/mod2/struct.Mod2Private.html
47 // @!has foo/mod2/index.html
48 // @!has foo/mod2/struct.Mod2Public.html
49 // @!has foo/mod2/struct.Mod2Private.html