mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-24 20:27:57 +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
|
||||
(_, Identifier::No, true, EnumTag::None) => {
|
||||
(_, Identifier::No, true, &EnumTag::None) => {
|
||||
cx.error("#[serde(other)] cannot appear on untagged enum");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user