Skip to content

Commit

Permalink
Turn off two tests broken due to #4108
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed May 17, 2019
1 parent f7f85a0 commit 568a3ec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
3 changes: 3 additions & 0 deletions tests/ui/crashes/used_underscore_binding_macro.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// run-pass

// FIXME(#4108)
/*
#![allow(clippy::useless_attribute)] //issue #2910
#[macro_use]
Expand All @@ -17,5 +19,6 @@ struct MacroAttributesTest {
fn macro_attributes_test() {
let _ = MacroAttributesTest { _foo: 0 };
}
*/

fn main() {}
5 changes: 4 additions & 1 deletion tests/ui/serde.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// FIXME(#4108)

/*
#![warn(clippy::serde_api_misuse)]
#![allow(dead_code)]
Expand Down Expand Up @@ -43,5 +46,5 @@ impl<'de> serde::de::Visitor<'de> for B {
unimplemented!()
}
}

*/
fn main() {}
15 changes: 0 additions & 15 deletions tests/ui/serde.stderr
Original file line number Diff line number Diff line change
@@ -1,15 +0,0 @@
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

0 comments on commit 568a3ec

Please sign in to comment.