]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/redirect-rename.rs
Auto merge of #68661 - nnethercote:rm-unused-read_uleb128-param, r=Mark-Simulacrum
[rust.git] / src / test / rustdoc / redirect-rename.rs
1 #![crate_name = "foo"]
2
3 mod hidden {
4     // @has foo/hidden/struct.Foo.html
5     // @has - '//p/a' '../../foo/struct.FooBar.html'
6     pub struct Foo {}
7
8     // @has foo/hidden/bar/index.html
9     // @has - '//p/a' '../../foo/baz/index.html'
10     pub mod bar {
11         // @has foo/hidden/bar/struct.Thing.html
12         // @has - '//p/a' '../../foo/baz/struct.Thing.html'
13         pub struct Thing {}
14     }
15 }
16
17 // @has foo/struct.FooBar.html
18 pub use hidden::Foo as FooBar;
19
20 // @has foo/baz/index.html
21 // @has foo/baz/struct.Thing.html
22 pub use hidden::bar as baz;