summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/inline-rename-34473.rs
blob: 7bc92cca1afd1b8885b32990fa6df2fd8bc7d406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![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};