about summary refs log tree commit diff
path: root/tests/rustdoc-gui/src/test_docs/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-gui/src/test_docs/lib.rs')
-rw-r--r--tests/rustdoc-gui/src/test_docs/lib.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/src/test_docs/lib.rs b/tests/rustdoc-gui/src/test_docs/lib.rs
index e8afe8b5687..623f5b33e9b 100644
--- a/tests/rustdoc-gui/src/test_docs/lib.rs
+++ b/tests/rustdoc-gui/src/test_docs/lib.rs
@@ -767,3 +767,17 @@ pub mod impls_indent {
         pub fn bar() {}
     }
 }
+
+pub mod tooltips {
+    pub struct X;
+
+    impl X {
+        pub fn bar() -> Vec<u8> {
+            Vec::new()
+        }
+    }
+
+    pub fn bar() -> Vec<u8> {
+        Vec::new()
+    }
+}