fix: remove undeclared attribute child
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user