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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
317 B
Rust
Raw Normal View History

#![crate_name = "foo"]
2023-11-20 12:50:25 -06:00
// https://github.com/rust-lang/rust/issues/34473
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};