rust/tests/rustdoc/issue-34473.rs

12 lines
266 B
Rust
Raw Normal View History

#![crate_name = "foo"]
mod second {
pub struct SomeTypeWithLongName;
}
// @has foo/index.html
2022-08-11 23:44:07 -05:00
// @!hasraw - SomeTypeWithLongName
// @has foo/struct.SomeType.html
// @!has foo/struct.SomeTypeWithLongName.html
pub use second::{SomeTypeWithLongName as SomeType};