]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/redirect-const.rs
Rollup merge of #106638 - RalfJung:realstd, r=thomcc
[rust.git] / tests / rustdoc / redirect-const.rs
1 #![crate_name="foo"]
2
3 pub use hidden::STATIC_FOO;
4 pub use hidden::CONST_FOO;
5
6 mod hidden {
7     // @has foo/hidden/static.STATIC_FOO.html
8     // @has - '//p/a' '../../foo/static.STATIC_FOO.html'
9     pub static STATIC_FOO: u64 = 0;
10     // @has foo/hidden/constant.CONST_FOO.html
11     // @has - '//p/a' '../../foo/constant.CONST_FOO.html'
12     pub const CONST_FOO: u64 = 0;
13 }