Fix unused_results
complaining rustc lint in codegen for adjacently tagged enum
This commit is contained in:
parent
5b140361a3
commit
5b32217877
@ -13,6 +13,7 @@ pub use lib::convert::{From, Into};
|
|||||||
pub use lib::default::Default;
|
pub use lib::default::Default;
|
||||||
pub use lib::fmt::{self, Formatter};
|
pub use lib::fmt::{self, Formatter};
|
||||||
pub use lib::marker::PhantomData;
|
pub use lib::marker::PhantomData;
|
||||||
|
pub use lib::mem;
|
||||||
pub use lib::option::Option::{self, None, Some};
|
pub use lib::option::Option::{self, None, Some};
|
||||||
pub use lib::ptr;
|
pub use lib::ptr;
|
||||||
pub use lib::result::Result::{self, Err, Ok};
|
pub use lib::result::Result::{self, Err, Ok};
|
||||||
|
@ -1458,7 +1458,7 @@ fn deserialize_adjacently_tagged_enum(
|
|||||||
while let _serde::__private::Some(__k) = #next_key {
|
while let _serde::__private::Some(__k) = #next_key {
|
||||||
match __k {
|
match __k {
|
||||||
_serde::__private::de::TagContentOtherField::Other => {
|
_serde::__private::de::TagContentOtherField::Other => {
|
||||||
try!(_serde::de::MapAccess::next_value::<_serde::de::IgnoredAny>(&mut __map));
|
_serde::__private::mem::drop(try!(_serde::de::MapAccess::next_value::<_serde::de::IgnoredAny>(&mut __map)));
|
||||||
continue;
|
continue;
|
||||||
},
|
},
|
||||||
_serde::__private::de::TagContentOtherField::Tag => {
|
_serde::__private::de::TagContentOtherField::Tag => {
|
||||||
|
Loading…
Reference in New Issue
Block a user