Added some missing UFCs

This commit is contained in:
Armin Ronacher 2018-03-20 13:38:22 +01:00
parent 8637dda60f
commit 5b884b5bf9

View File

@ -2491,7 +2491,9 @@ fn deserialize_map_in_place(
let collected_deny_unknown_fields = if cattrs.has_flatten() && cattrs.deny_unknown_fields() {
Some(quote! {
if let Some(Some((__key, _))) = __collect.into_iter().filter(|x| x.is_some()).next() {
if let _serde::export::Some(_serde::export::Some((__key, _))) =
__collect.into_iter().filter(|x| x.is_some()).next()
{
return _serde::export::Err(
_serde::de::Error::custom(format_args!("unknown field `{}`", &__key)));
}