forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#4118 - rust-lang:revert, r=phansch
Revert "Turn off two tests broken due to rust-lang#4108" This reverts commit 568a3ec which is unnecessary after rust-lang/rust-clippy#4115 changelog: none
- Loading branch information
Showing
3 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
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 | | where | ||
LL | | E: serde::de::Error, | ||
LL | | { | ||
LL | | unimplemented!() | ||
LL | | } | ||
| |_____^ | ||
| | ||
= note: `-D clippy::serde-api-misuse` implied by `-D warnings` | ||
|
||
error: aborting due to previous error | ||
|