diff --git a/src/lib.rs b/src/lib.rs index 8358c76d7..db4bde80b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -314,6 +314,7 @@ clippy::match_single_binding, clippy::needless_doctest_main, clippy::needless_late_init, + clippy::needless_lifetimes, clippy::return_self_not_must_use, clippy::transmute_ptr_to_ptr, clippy::unconditional_recursion, // https://github.com/rust-lang/rust-clippy/issues/12133 diff --git a/tests/regression.rs b/tests/regression.rs index fb2b25c89..22cca8243 100644 --- a/tests/regression.rs +++ b/tests/regression.rs @@ -1,3 +1,5 @@ +#![allow(clippy::needless_lifetimes)] + mod regression { automod::dir!("tests/regression"); }