about summary refs log tree commit diff
path: root/tests/rustdoc-js/trailing.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-11-18 04:17:11 +0000
committerbors <bors@rust-lang.org>2024-11-18 04:17:11 +0000
commitbf6adec108e83c5ddfcbb443a9177203db5eb945 (patch)
tree7dad50a965a6cd5b4f22936421ade7a3083a7107 /tests/rustdoc-js/trailing.rs
parent3fb7e441aecc3c054d71eb4d752d06e7776e8888 (diff)
parentf6374b4b7135479ccfe6751f1ed45ba5a95910f0 (diff)
downloadrust-bf6adec108e83c5ddfcbb443a9177203db5eb945.tar.gz
rust-bf6adec108e83c5ddfcbb443a9177203db5eb945.zip
Auto merge of #133152 - jhpratt:rollup-wkqs5ud, r=jhpratt
Rollup of 7 pull requests

Successful merges:

 - #132795 (Check `use<..>` in RPITIT for refinement)
 - #132944 (add parentheses when unboxing suggestion needed)
 - #132993 (Make rustc consider itself a stable compiler when `RUSTC_BOOTSTRAP=-1`)
 - #133130 (`suggest_borrow_generic_arg`: instantiate clauses properly)
 - #133133 (rustdoc-search: add standalone trailing `::` test)
 - #133143 (Diagnostics for let mut in item context)
 - #133147 (Fixup some test directives)

r? `@ghost`
`@rustbot` modify labels: rollup
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() {}
+}