]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | error: you should not implement `visit_string` without also implementing `visit_str` |
2 | --> $DIR/serde.rs:39:5 | |
3 | | | |
4 | LL | / fn visit_string<E>(self, _v: String) -> Result<Self::Value, E> | |
5 | LL | | where | |
6 | LL | | E: serde::de::Error, | |
7 | LL | | { | |
8 | LL | | unimplemented!() | |
9 | LL | | } | |
10 | | |_____^ | |
11 | | | |
12 | = note: `-D clippy::serde-api-misuse` implied by `-D warnings` | |
13 | ||
14 | error: aborting due to previous error | |
15 |