Fix for rust 1.15

This commit is contained in:
roblabla 2018-09-10 17:12:33 +00:00
parent 7870b58356
commit 61bf901048

View File

@ -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");
}