mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
14 lines
371 B
Rust
14 lines
371 B
Rust
#![crate_name="foo"]
|
|
|
|
pub use hidden::STATIC_FOO;
|
|
pub use hidden::CONST_FOO;
|
|
|
|
mod hidden {
|
|
// @has foo/hidden/static.STATIC_FOO.html
|
|
// @has - '//p/a' '../../foo/static.STATIC_FOO.html'
|
|
pub static STATIC_FOO: u64 = 0;
|
|
// @has foo/hidden/constant.CONST_FOO.html
|
|
// @has - '//p/a' '../../foo/constant.CONST_FOO.html'
|
|
pub const CONST_FOO: u64 = 0;
|
|
}
|