about summary refs log tree commit diff
path: root/tests/rustdoc-js/trailing.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2024-11-17 08:07:16 -0700
committerMichael Howell <michael@notriddle.com>2024-11-17 08:07:16 -0700
commitfa2e214a439488e06c4a144a2b3e37409810d9f4 (patch)
tree09099a47027eea33308ccc460d1c9f8362c9fb10 /tests/rustdoc-js/trailing.rs
parent1e0df74445a185fc97b7e806cd6c636eaded1326 (diff)
downloadrust-fa2e214a439488e06c4a144a2b3e37409810d9f4.tar.gz
rust-fa2e214a439488e06c4a144a2b3e37409810d9f4.zip
rustdoc-search: add standalone trailing `::` test
Follow up for #132569
Diffstat (limited to 'tests/rustdoc-js/trailing.rs')
-rw-r--r--tests/rustdoc-js/trailing.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/rustdoc-js/trailing.rs b/tests/rustdoc-js/trailing.rs
new file mode 100644
index 00000000000..5c7c9362ffb
--- /dev/null
+++ b/tests/rustdoc-js/trailing.rs
@@ -0,0 +1,3 @@
+pub mod inner {
+    pub fn function() {}
+}