2017-08-01 23:54:21 +08:00
|
|
|
error: you should not implement `visit_string` without also implementing `visit_str`
|
2019-01-08 05:33:18 +08:00
|
|
|
--> $DIR/serde.rs:39:5
|
2017-08-01 23:54:21 +08:00
|
|
|
|
|
2018-12-27 23:57:55 +08: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 23:54:21 +08:00
|
|
|
| |_____^
|
|
|
|
|
|
2018-08-01 22:30:44 +08:00
|
|
|
= note: `-D clippy::serde-api-misuse` implied by `-D warnings`
|
2017-08-01 23:54:21 +08:00
|
|
|
|
2018-01-17 00:06:27 +08:00
|
|
|
error: aborting due to previous error
|
|
|
|
|