]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/redirect-const.rs
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[rust.git] / src / test / 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 }