mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
14 lines
317 B
Rust
14 lines
317 B
Rust
#![crate_name = "foo"]
|
|
|
|
// https://github.com/rust-lang/rust/issues/34473
|
|
|
|
mod second {
|
|
pub struct SomeTypeWithLongName;
|
|
}
|
|
|
|
// @has foo/index.html
|
|
// @!hasraw - SomeTypeWithLongName
|
|
// @has foo/struct.SomeType.html
|
|
// @!has foo/struct.SomeTypeWithLongName.html
|
|
pub use second::{SomeTypeWithLongName as SomeType};
|