mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
12 lines
263 B
Rust
12 lines
263 B
Rust
|
#![crate_name = "foo"]
|
||
|
|
||
|
mod second {
|
||
|
pub struct SomeTypeWithLongName;
|
||
|
}
|
||
|
|
||
|
// @has foo/index.html
|
||
|
// @!has - SomeTypeWithLongName
|
||
|
// @has foo/struct.SomeType.html
|
||
|
// @!has foo/struct.SomeTypeWithLongName.html
|
||
|
pub use second::{SomeTypeWithLongName as SomeType};
|