diff options
| author | Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com> | 2023-05-22 18:17:52 +0100 |
|---|---|---|
| committer | Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com> | 2023-05-22 18:22:08 +0100 |
| commit | a5e51013753ca75c239403b47af1e605f5af2a64 (patch) | |
| tree | 70c1c02274321292eebb8db3603ff83c80da08a2 /tests/rustdoc-json/structs/tuple.rs | |
| parent | 48ec50ae39d0ca0baa0e78f56c395dcc6d7ebd65 (diff) | |
| download | rust-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.rs | 4 |
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); |
