summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/checked_unwrap/complex_conditionals.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/checked_unwrap/complex_conditionals.rs')
-rw-r--r--src/tools/clippy/tests/ui/checked_unwrap/complex_conditionals.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/clippy/tests/ui/checked_unwrap/complex_conditionals.rs b/src/tools/clippy/tests/ui/checked_unwrap/complex_conditionals.rs
index ec082c73b..16e54a7d9 100644
--- a/src/tools/clippy/tests/ui/checked_unwrap/complex_conditionals.rs
+++ b/src/tools/clippy/tests/ui/checked_unwrap/complex_conditionals.rs
@@ -1,5 +1,9 @@
#![deny(clippy::panicking_unwrap, clippy::unnecessary_unwrap)]
-#![allow(clippy::if_same_then_else, clippy::branches_sharing_code)]
+#![allow(
+ clippy::if_same_then_else,
+ clippy::branches_sharing_code,
+ clippy::unnecessary_literal_unwrap
+)]
fn test_complex_conditions() {
let x: Result<(), ()> = Ok(());