diff --git a/tests/ui/try_err.rs b/tests/ui/try_err.rs index 6bd479657b70..7e39447dc4fb 100644 --- a/tests/ui/try_err.rs +++ b/tests/ui/try_err.rs @@ -3,6 +3,7 @@ #![deny(clippy::try_err)] #![allow(clippy::unnecessary_wraps)] +#![allow(clippy::needless-question-mark)] #[macro_use] extern crate macro_rules; diff --git a/tests/ui/unit_arg.rs b/tests/ui/unit_arg.rs index 9ad16d365094..b6a7bc5a1cc9 100644 --- a/tests/ui/unit_arg.rs +++ b/tests/ui/unit_arg.rs @@ -5,7 +5,8 @@ unused_variables, clippy::unused_unit, clippy::unnecessary_wraps, - clippy::or_fun_call + clippy::or_fun_call, + clippy::needless_question_mark )] use std::fmt::Debug;