summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/issue-21474.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/issue-21474.rs')
-rw-r--r--src/test/rustdoc/issue-21474.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/rustdoc/issue-21474.rs b/src/test/rustdoc/issue-21474.rs
new file mode 100644
index 000000000..43ce13fd9
--- /dev/null
+++ b/src/test/rustdoc/issue-21474.rs
@@ -0,0 +1,11 @@
+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 has-srclink"]' 1
+pub struct What;