summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/inline_cross/add-docs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/inline_cross/add-docs.rs')
-rw-r--r--tests/rustdoc/inline_cross/add-docs.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/rustdoc/inline_cross/add-docs.rs b/tests/rustdoc/inline_cross/add-docs.rs
new file mode 100644
index 000000000..a1124d209
--- /dev/null
+++ b/tests/rustdoc/inline_cross/add-docs.rs
@@ -0,0 +1,9 @@
+// aux-build:add-docs.rs
+
+extern crate inner;
+
+
+// @has add_docs/struct.MyStruct.html
+// @hasraw add_docs/struct.MyStruct.html "Doc comment from ‘pub use’, Doc comment from definition"
+/// Doc comment from 'pub use',
+pub use inner::MyStruct;