xso-proc: clippy run
Caught a bug hidden behind #[cfg(not(feature = "minidom"))] Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
5b62672541
commit
4994ac20f9
7 changed files with 22 additions and 22 deletions
|
|
@ -420,8 +420,13 @@ fn new_field(
|
|||
})),
|
||||
|
||||
#[cfg(not(feature = "minidom"))]
|
||||
XmlFieldMeta::Element { span, amount } => {
|
||||
XmlFieldMeta::Element {
|
||||
span,
|
||||
amount,
|
||||
default_,
|
||||
} => {
|
||||
let _ = amount;
|
||||
let _ = default_;
|
||||
Err(Error::new(
|
||||
span,
|
||||
"#[xml(element)] requires xso to be built with the \"minidom\" feature.",
|
||||
|
|
|
|||
Loading…
Reference in a new issue