mirror of
https://github.com/serde-rs/serde.git
synced 2025-10-02 23:35:26 +00:00
Fix for rust 1.15
This commit is contained in:
parent
7870b58356
commit
61bf901048
@ -119,7 +119,7 @@ fn check_identifier(cx: &Ctxt, cont: &Container) {
|
|||||||
},
|
},
|
||||||
|
|
||||||
// Variant with `other` attribute cannot appear in untagged enum
|
// Variant with `other` attribute cannot appear in untagged enum
|
||||||
(_, Identifier::No, true, EnumTag::None) => {
|
(_, Identifier::No, true, &EnumTag::None) => {
|
||||||
cx.error("#[serde(other)] cannot appear on untagged enum");
|
cx.error("#[serde(other)] cannot appear on untagged enum");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user