summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/serde.stderr
blob: e5d64e271644da58c078b033242a7c9201673ebe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 | |
LL | |
LL | |     where
...  |
LL | |         unimplemented!()
LL | |     }
   | |_____^
   |
   = note: `-D clippy::serde-api-misuse` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::serde_api_misuse)]`

error: aborting due to previous error