mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-13 17:11:02 +00:00
Fix for rust 1.15
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user