You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently (as of version 0.1.18) using serde_repr derives on a deprecated enum or an enum with deprecated variants causes deprecation warnings to be emitted from the macro:
#[deprecated]#[derive(Debug,Clone,Copy,Serialize_repr,Deserialize_repr)]enumFoo{// use of deprecated enum `Foo`Bar,// use of deprecated enum variant `Foo::Bar`Baz,// use of deprecated enum variant `Foo::Baz`}
This can be worked around in the same way as serde-rs/serde#2195, but would be better handled by the macro taking this into account.
The text was updated successfully, but these errors were encountered:
Currently (as of version
0.1.18
) usingserde_repr
derives on a deprecated enum or an enum with deprecated variants causes deprecation warnings to be emitted from the macro:This can be worked around in the same way as serde-rs/serde#2195, but would be better handled by the macro taking this into account.
The text was updated successfully, but these errors were encountered: