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 {
|
struct Node {
|
||||||
#[yaserde(flatten)]
|
#[yaserde(flatten)]
|
||||||
base: Base,
|
base: Base,
|
||||||
#[yaserde(child)]
|
|
||||||
value: StringValue,
|
value: StringValue,
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -235,7 +234,6 @@ fn flatten_name_in_unknown_child() {
|
|||||||
pub struct Node {
|
pub struct Node {
|
||||||
#[yaserde(flatten)]
|
#[yaserde(flatten)]
|
||||||
base: Base,
|
base: Base,
|
||||||
#[yaserde(child)]
|
|
||||||
value: Value,
|
value: Value,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user