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
error[E0277]: the trait bound `Not: serde::Serialize` is not satisfied
--> src/main.rs:18:5
|
18 | assert::<E<Not>>();
| ^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `Not`
|
= note: required because of the requirements on the impl of `serde::Serialize` for `E<Not>`
= note: required by `main::assert`
The text was updated successfully, but these errors were encountered:
There should be no bounds placed on T in this example, just like there wouldn't be with skip_serializing / skip_deserializing on a field.
The text was updated successfully, but these errors were encountered: