rust/tests/ui/serde.stderr

16 lines
424 B
Plaintext
Raw Normal View History

2017-08-01 23:54:21 +08:00
error: you should not implement `visit_string` without also implementing `visit_str`
--> $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
| |_____^
|
= 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