about summary refs log tree commit diff
path: root/tests/rustdoc/inline-rename-34473.rs
blob: 7a065adb0db95b1d7199b9b387c79fccc5b6dc76 (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};