rust/tests/rustdoc/inline-rename-34473.rs

12 lines
266 B
Rust

#![crate_name = "foo"]
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};