2019-05-20 05:31:53 -05:00
|
|
|
error: you should not implement `visit_string` without also implementing `visit_str`
|
|
|
|
--> $DIR/serde.rs:39:5
|
|
|
|
|
|
|
|
|
LL | / fn visit_string<E>(self, _v: String) -> Result<Self::Value, E>
|
2023-08-24 14:32:12 -05:00
|
|
|
LL | |
|
|
|
|
LL | |
|
2019-05-20 05:31:53 -05:00
|
|
|
LL | | where
|
2023-08-24 14:32:12 -05:00
|
|
|
... |
|
2019-05-20 05:31:53 -05:00
|
|
|
LL | | unimplemented!()
|
|
|
|
LL | | }
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::serde-api-misuse` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::serde_api_misuse)]`
|
2019-05-20 05:31:53 -05:00
|
|
|
|
2023-11-21 11:08:42 -06:00
|
|
|
error: aborting due to 1 previous error
|
2019-05-20 05:31:53 -05:00
|
|
|
|