]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/serde.stderr
Rollup merge of #102412 - joboet:dont_panic, r=m-ou-se
[rust.git] / src / tools / clippy / tests / ui / serde.stderr
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