2017-08-01 15:54:21 +00:00
|
|
|
error: you should not implement `visit_string` without also implementing `visit_str`
|
2019-01-07 21:33:18 +00:00
|
|
|
--> $DIR/serde.rs:39:5
|
2017-08-01 15:54:21 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | / fn visit_string<E>(self, _v: String) -> Result<Self::Value, E>
|
|
|
|
LL | | where
|
|
|
|
LL | | E: serde::de::Error,
|
|
|
|
LL | | {
|
|
|
|
LL | | unimplemented!()
|
|
|
|
LL | | }
|
2017-08-01 15:54:21 +00:00
|
|
|
| |_____^
|
|
|
|
|
|
2018-08-01 14:30:44 +00:00
|
|
|
= note: `-D clippy::serde-api-misuse` implied by `-D warnings`
|
2017-08-01 15:54:21 +00:00
|
|
|
|
2018-01-16 16:06:27 +00:00
|
|
|
error: aborting due to previous error
|
|
|
|
|