about summary refs log tree commit diff
path: root/src/test/rustdoc-json/nested.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-json/nested.rs')
-rw-r--r--src/test/rustdoc-json/nested.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/rustdoc-json/nested.rs b/src/test/rustdoc-json/nested.rs
new file mode 100644
index 00000000000..e460b343d37
--- /dev/null
+++ b/src/test/rustdoc-json/nested.rs
@@ -0,0 +1,7 @@
+// edition:2018
+pub mod l1 {
+    pub mod l3 {
+        pub struct L4;
+    }
+    pub use l3::L4;
+}