summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/redundant_pattern_matching_drop_order.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/redundant_pattern_matching_drop_order.fixed')
-rw-r--r--src/tools/clippy/tests/ui/redundant_pattern_matching_drop_order.fixed7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tools/clippy/tests/ui/redundant_pattern_matching_drop_order.fixed b/src/tools/clippy/tests/ui/redundant_pattern_matching_drop_order.fixed
index bebdf8971..d1134de5a 100644
--- a/src/tools/clippy/tests/ui/redundant_pattern_matching_drop_order.fixed
+++ b/src/tools/clippy/tests/ui/redundant_pattern_matching_drop_order.fixed
@@ -2,7 +2,12 @@
// Issue #5746
#![warn(clippy::redundant_pattern_matching)]
-#![allow(clippy::if_same_then_else, clippy::equatable_if_let)]
+#![allow(
+ clippy::if_same_then_else,
+ clippy::equatable_if_let,
+ clippy::needless_if,
+ clippy::needless_else
+)]
use std::task::Poll::{Pending, Ready};
fn main() {