about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-05 17:03:58 +0000
committerbors <bors@rust-lang.org>2024-08-05 17:03:58 +0000
commitf7eefec4e03f5ba723fbc04d94dbc1203b7c9bff (patch)
tree1637ce14bf6b1d141c7f8697f477b4506538a492 /tests
parent2b78d920964e1d70927bcd208529bda0e11120d0 (diff)
parent86798401df960a8e8da353250dc1351ee00eedc2 (diff)
downloadrust-f7eefec4e03f5ba723fbc04d94dbc1203b7c9bff.tar.gz
rust-f7eefec4e03f5ba723fbc04d94dbc1203b7c9bff.zip
Auto merge of #128689 - matthiaskrgr:rollup-ukyn8wq, r=matthiaskrgr
Rollup of 5 pull requests

Successful merges:

 - #128385 (rustdoc-json: discard non-local inherent impls for primitives)
 - #128559 (Don't re-elaborated already elaborated caller bounds in method probe)
 - #128631 (handle crates when they are not specified for std docs)
 - #128664 (Add `Debug` impls to API types in `rustc_codegen_ssa`)
 - #128686 (fix the invalid argument type)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'tests')
-rw-r--r--tests/rustdoc-json/the_smallest.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/rustdoc-json/the_smallest.rs b/tests/rustdoc-json/the_smallest.rs
new file mode 100644
index 00000000000..2f6f91e6e27
--- /dev/null
+++ b/tests/rustdoc-json/the_smallest.rs
@@ -0,0 +1,5 @@
+// This test asserts that `index` is not polluted with unrelated items.
+// See https://github.com/rust-lang/rust/issues/114039
+
+//@ count "$.index[*]" 1
+fn main() {}