rust-clippy/tests/ui/serde.stderr

15 lines
413 B
Text
Raw Normal View History

2017-08-01 15:54:21 +00:00
error: you should not implement `visit_string` without also implementing `visit_str`
2018-10-06 16:18:06 +00:00
--> $DIR/serde.rs:49:5
2017-08-01 15:54:21 +00:00
|
2018-10-06 16:18:06 +00:00
49 | / fn visit_string<E>(self, _v: String) -> Result<Self::Value, E>
50 | | where E: serde::de::Error,
51 | | {
52 | | unimplemented!()
53 | | }
2017-08-01 15:54:21 +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