]> git.lizzy.rs Git - rust.git/blob - tests/ui/serde.stderr
rustup and compile-fail -> ui test move
[rust.git] / 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 39 |       fn visit_string<E>(self, _v: String) -> Result<Self::Value, E>
5    |  _____^ starting here...
6 40 | |     //~^ ERROR you should not implement `visit_string` without also implementing `visit_str`
7 41 | |         where E: serde::de::Error,
8 42 | |     {
9 43 | |         unimplemented!()
10 44 | |     }
11    | |_____^ ...ending here
12    |
13 note: lint level defined here
14   --> $DIR/serde.rs:3:9
15    |
16 3  | #![deny(serde_api_misuse)]
17    |         ^^^^^^^^^^^^^^^^
18
19 error: aborting due to previous error
20