You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seq: Allow to have an ordinary elements together with a $value field
Example of a struct, that should be a valid definition:
enum Choice { one, two, three }
struct Root {
#[serde(rename = "$value")]
item: [Choice; 3],
node: (),
}
and this struct should be able to deserialized from
<root>
<one/>
<two/>
<three/>
<node/>
</root>
The following tests were fixed (10):
seq::variable_name::fixed_size::field_after_list::after
seq::variable_name::fixed_size::field_after_list::before
seq::variable_name::fixed_size::field_before_list::after
seq::variable_name::fixed_size::field_before_list::before
seq::variable_name::fixed_size::two_lists::choice_and_fixed::fixed_after
seq::variable_name::fixed_size::two_lists::choice_and_fixed::fixed_before
seq::variable_name::fixed_size::two_lists::fixed_and_choice::fixed_after
seq::variable_name::fixed_size::two_lists::fixed_and_choice::fixed_before
seq::variable_name::variable_size::field_after_list::before
seq::variable_name::variable_size::field_before_list::before
failures (26):
seq::fixed_name::fixed_size::field_after_list::overlapped
seq::fixed_name::fixed_size::field_before_list::overlapped
seq::fixed_name::fixed_size::two_lists::overlapped
seq::fixed_name::fixed_size::unknown_items::overlapped
seq::fixed_name::variable_size::field_after_list::overlapped
seq::fixed_name::variable_size::field_before_list::overlapped
seq::fixed_name::variable_size::two_lists::overlapped
seq::fixed_name::variable_size::unknown_items::overlapped
seq::variable_name::fixed_size::field_after_list::overlapped
seq::variable_name::fixed_size::field_before_list::overlapped
seq::variable_name::fixed_size::two_lists::choice_and_fixed::overlapped_fixed_after
seq::variable_name::fixed_size::two_lists::choice_and_fixed::overlapped_fixed_before
seq::variable_name::fixed_size::two_lists::fixed_and_choice::overlapped_fixed_after
seq::variable_name::fixed_size::two_lists::fixed_and_choice::overlapped_fixed_before
seq::variable_name::variable_size::field_after_list::after
seq::variable_name::variable_size::field_after_list::overlapped
seq::variable_name::variable_size::field_before_list::after
seq::variable_name::variable_size::field_before_list::overlapped
seq::variable_name::variable_size::two_lists::choice_and_fixed::fixed_after
seq::variable_name::variable_size::two_lists::choice_and_fixed::fixed_before
seq::variable_name::variable_size::two_lists::choice_and_fixed::overlapped_fixed_after
seq::variable_name::variable_size::two_lists::choice_and_fixed::overlapped_fixed_before
seq::variable_name::variable_size::two_lists::fixed_and_choice::fixed_after
seq::variable_name::variable_size::two_lists::fixed_and_choice::fixed_before
seq::variable_name::variable_size::two_lists::fixed_and_choice::overlapped_fixed_after
seq::variable_name::variable_size::two_lists::fixed_and_choice::overlapped_fixed_before
Co-authored-by: Daniel Alley <dalley@redhat.com>
0 commit comments