about summary refs log tree commit diff
path: root/tests/rustdoc-json/structs/tuple.rs
diff options
context:
space:
mode:
authorLuca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>2023-05-22 18:17:52 +0100
committerLuca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>2023-05-22 18:22:08 +0100
commita5e51013753ca75c239403b47af1e605f5af2a64 (patch)
tree70c1c02274321292eebb8db3603ff83c80da08a2 /tests/rustdoc-json/structs/tuple.rs
parent48ec50ae39d0ca0baa0e78f56c395dcc6d7ebd65 (diff)
downloadrust-a5e51013753ca75c239403b47af1e605f5af2a64.tar.gz
rust-a5e51013753ca75c239403b47af1e605f5af2a64.zip
Serialize all enums as externally tagged to guarantee compatibility with binary formats such as bincode or postcard
Diffstat (limited to 'tests/rustdoc-json/structs/tuple.rs')
-rw-r--r--tests/rustdoc-json/structs/tuple.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-json/structs/tuple.rs b/tests/rustdoc-json/structs/tuple.rs
index 6bdb753ee01..16ab95ed271 100644
--- a/tests/rustdoc-json/structs/tuple.rs
+++ b/tests/rustdoc-json/structs/tuple.rs
@@ -1,4 +1,4 @@
 // @is "$.index[*][?(@.name=='Tuple')].visibility" \"public\"
-// @is "$.index[*][?(@.name=='Tuple')].kind" \"struct\"
-// @is "$.index[*][?(@.name=='Tuple')].inner.kind.tuple" '[null, null]'
+// @has "$.index[*][?(@.name=='Tuple')].inner.struct"
+// @is "$.index[*][?(@.name=='Tuple')].inner.struct.kind.tuple" '[null, null]'
 pub struct Tuple(u32, String);