mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
clean tests/ui/serde.rs
Cleaning the empty lines for clarity.
This commit is contained in:
parent
bf6d4b7129
commit
ffb768cf8d
@ -37,7 +37,6 @@ impl<'de> serde::de::Visitor<'de> for B {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn visit_string<E>(self, _v: String) -> Result<Self::Value, E>
|
fn visit_string<E>(self, _v: String) -> Result<Self::Value, E>
|
||||||
|
|
||||||
where E: serde::de::Error,
|
where E: serde::de::Error,
|
||||||
{
|
{
|
||||||
unimplemented!()
|
unimplemented!()
|
||||||
|
@ -2,11 +2,10 @@ error: you should not implement `visit_string` without also implementing `visit_
|
|||||||
--> $DIR/serde.rs:39:5
|
--> $DIR/serde.rs:39:5
|
||||||
|
|
|
|
||||||
39 | / fn visit_string<E>(self, _v: String) -> Result<Self::Value, E>
|
39 | / fn visit_string<E>(self, _v: String) -> Result<Self::Value, E>
|
||||||
40 | |
|
40 | | where E: serde::de::Error,
|
||||||
41 | | where E: serde::de::Error,
|
41 | | {
|
||||||
42 | | {
|
42 | | unimplemented!()
|
||||||
43 | | unimplemented!()
|
43 | | }
|
||||||
44 | | }
|
|
||||||
| |_____^
|
| |_____^
|
||||||
|
|
|
|
||||||
note: lint level defined here
|
note: lint level defined here
|
||||||
|
Loading…
Reference in New Issue
Block a user