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 18:50:25 +00:00
// https://github.com/rust-lang/rust/issues/34473
mod second {
pub struct SomeTypeWithLongName;
}
// @has foo/index.html
2022-08-12 04:44:07 +00:00
// @!hasraw - SomeTypeWithLongName
// @has foo/struct.SomeType.html
// @!has foo/struct.SomeTypeWithLongName.html
pub use second::{SomeTypeWithLongName as SomeType};