Skip to content

Commit 568a3ec

Browse files
committed
Turn off two tests broken due to #4108
1 parent f7f85a0 commit 568a3ec

File tree

3 files changed

+7
-16
lines changed

3 files changed

+7
-16
lines changed

tests/ui/crashes/used_underscore_binding_macro.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// run-pass
22

3+
// FIXME(#4108)
4+
/*
35
#![allow(clippy::useless_attribute)] //issue #2910
46
57
#[macro_use]
@@ -17,5 +19,6 @@ struct MacroAttributesTest {
1719
fn macro_attributes_test() {
1820
let _ = MacroAttributesTest { _foo: 0 };
1921
}
22+
*/
2023

2124
fn main() {}

tests/ui/serde.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// FIXME(#4108)
2+
3+
/*
14
#![warn(clippy::serde_api_misuse)]
25
#![allow(dead_code)]
36
@@ -43,5 +46,5 @@ impl<'de> serde::de::Visitor<'de> for B {
4346
unimplemented!()
4447
}
4548
}
46-
49+
*/
4750
fn main() {}

tests/ui/serde.stderr

-15
Original file line numberDiff line numberDiff line change
@@ -1,15 +0,0 @@
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-

0 commit comments

Comments
 (0)