diff options
Diffstat (limited to 'tests/rustdoc/issue-21474.rs')
-rw-r--r-- | tests/rustdoc/issue-21474.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-21474.rs b/tests/rustdoc/issue-21474.rs new file mode 100644 index 000000000..43ce13fd9 --- /dev/null +++ b/tests/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; |