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
|
||||
(_, Identifier::No, true, EnumTag::None) => {
|
||||
(_, Identifier::No, true, &EnumTag::None) => {
|
||||
cx.error("#[serde(other)] cannot appear on untagged enum");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user