diff options
Diffstat (limited to 'tests/rustdoc/inline-rename-34473.rs')
-rw-r--r-- | tests/rustdoc/inline-rename-34473.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/rustdoc/inline-rename-34473.rs b/tests/rustdoc/inline-rename-34473.rs new file mode 100644 index 000000000..7bc92cca1 --- /dev/null +++ b/tests/rustdoc/inline-rename-34473.rs @@ -0,0 +1,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}; |