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