summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/serde.stderr
blob: 760c9c9908a6f06733c6e0db7a3421b94462cfcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>
LL | |     where
LL | |         E: serde::de::Error,
LL | |     {
LL | |         unimplemented!()
LL | |     }
   | |_____^
   |
   = note: `-D clippy::serde-api-misuse` implied by `-D warnings`

error: aborting due to previous error