diff options
Diffstat (limited to '')
-rw-r--r-- | tests/rustdoc/deduplicate-glob-import-impl-21474.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/rustdoc/deduplicate-glob-import-impl-21474.rs b/tests/rustdoc/deduplicate-glob-import-impl-21474.rs new file mode 100644 index 000000000..2a675b4b6 --- /dev/null +++ b/tests/rustdoc/deduplicate-glob-import-impl-21474.rs @@ -0,0 +1,14 @@ +// https://github.com/rust-lang/rust/issues/21474 +#![crate_name="issue_21474"] + +pub use inner::*; + +mod inner { + impl super::Blah for super::What { } +} + +pub trait Blah { } + +// @count issue_21474/struct.What.html \ +// '//*[@id="trait-implementations-list"]//*[@class="impl"]' 1 +pub struct What; |