diff options
Diffstat (limited to 'tests/rustdoc/issue-33069.rs')
-rw-r--r-- | tests/rustdoc/issue-33069.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-33069.rs b/tests/rustdoc/issue-33069.rs new file mode 100644 index 000000000..0213a53ca --- /dev/null +++ b/tests/rustdoc/issue-33069.rs @@ -0,0 +1,10 @@ +pub trait Bar {} + +#[doc(hidden)] +pub mod hidden { + pub struct Foo; +} + +// @has issue_33069/trait.Bar.html +// @!has - '//code' 'impl Bar for Foo' +impl Bar for hidden::Foo {} |