(&self, _serializer: S)
| 29 | |
| 30 | impl Serialize for CannotSerialize { |
| 31 | fn serialize<S>(&self, _serializer: S) -> Result<S::Ok, S::Error> |
| 32 | where |
| 33 | S: serde::Serializer, |
| 34 | { |
| 35 | Err(serde::ser::Error::custom( |
| 36 | "something went intentionally wrong", |
| 37 | )) |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | #[test] |
no outgoing calls
no test coverage detected