fix: remove undeclared attribute child
This commit is contained in:
parent
9c2d04b0af
commit
8fd8e9d361
@ -196,7 +196,6 @@ fn flatten_attribute_and_child() {
|
||||
struct Node {
|
||||
#[yaserde(flatten)]
|
||||
base: Base,
|
||||
#[yaserde(child)]
|
||||
value: StringValue,
|
||||
}
|
||||
|
||||
@ -235,7 +234,6 @@ fn flatten_name_in_unknown_child() {
|
||||
pub struct Node {
|
||||
#[yaserde(flatten)]
|
||||
base: Base,
|
||||
#[yaserde(child)]
|
||||
value: Value,
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user