about summary refs log tree commit diff
path: root/tests/run-make-cargo/rustdoc-scrape-examples-paths/foo/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make-cargo/rustdoc-scrape-examples-paths/foo/src/lib.rs')
-rw-r--r--tests/run-make-cargo/rustdoc-scrape-examples-paths/foo/src/lib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/run-make-cargo/rustdoc-scrape-examples-paths/foo/src/lib.rs b/tests/run-make-cargo/rustdoc-scrape-examples-paths/foo/src/lib.rs
new file mode 100644
index 00000000000..a9bb0272c78
--- /dev/null
+++ b/tests/run-make-cargo/rustdoc-scrape-examples-paths/foo/src/lib.rs
@@ -0,0 +1,7 @@
+pub struct X;
+
+impl X {
+    pub fn new() -> Self {
+        X
+    }
+}