Merge pull request #2466 from Mingun/fix-de-count-of-field

Fix incorrect count of fields passed to tuple deserialization methods
This commit is contained in:
David Tolnay authored and GitHub committed 2023-06-07 22:13:08 -07:00
commit 8a4dfa7231
2 files changed
+23 -15

No files matched your search

+1 -1
View File
@@ -1533,7 +1533,7 @@ fn test_invalid_length_enum() {
Token::TupleVariant {
name: "InvalidLengthEnum",
variant: "B",
len: 3,
len: 2,
},
Token::I32(1),
Token::TupleVariantEnd,