summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/serde.stderr
blob: 079ba42bd2bc57dd2ca6559a60445a4c0d0a0f4a (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 1 previous error