about summary refs log tree commit diff
path: root/tests/rustdoc-json/output_generics.rs
diff options
context:
space:
mode:
authorAlona Enraght-Moony <code@alona.page>2025-03-20 23:01:32 +0000
committerAlona Enraght-Moony <code@alona.page>2025-03-21 00:48:09 +0000
commit7ab71c417b90695ea5186003745699e05164e746 (patch)
tree474969211a4770dbd38380cb73308030307f28f3 /tests/rustdoc-json/output_generics.rs
parenta0918b7f5fc92988e54a4fe391a5ca5a51758b36 (diff)
downloadrust-7ab71c417b90695ea5186003745699e05164e746.tar.gz
rust-7ab71c417b90695ea5186003745699e05164e746.zip
tests/rustdoc-json: replace `$.index[*][?` with `$.index[?`
Done automatically with VSCode.
Diffstat (limited to 'tests/rustdoc-json/output_generics.rs')
-rw-r--r--tests/rustdoc-json/output_generics.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/rustdoc-json/output_generics.rs b/tests/rustdoc-json/output_generics.rs
index 3454f421636..4d4339ceb23 100644
--- a/tests/rustdoc-json/output_generics.rs
+++ b/tests/rustdoc-json/output_generics.rs
@@ -2,11 +2,11 @@
 
 // This is a regression test for #98009.
 
-//@ has "$.index[*][?(@.name=='this_compiles')]"
-//@ has "$.index[*][?(@.name=='this_does_not')]"
-//@ has "$.index[*][?(@.name=='Events')]"
-//@ has "$.index[*][?(@.name=='Other')]"
-//@ has "$.index[*][?(@.name=='Trait')]"
+//@ has "$.index[?(@.name=='this_compiles')]"
+//@ has "$.index[?(@.name=='this_does_not')]"
+//@ has "$.index[?(@.name=='Events')]"
+//@ has "$.index[?(@.name=='Other')]"
+//@ has "$.index[?(@.name=='Trait')]"
 
 struct Events<R>(R);