diff --git a/Makefile b/Makefile index 0be58613bfe0..31b4fc9f5ccb 100644 --- a/Makefile +++ b/Makefile @@ -469,6 +469,7 @@ export rust_common_flags := --edition=2021 \ -Wclippy::let_unit_value -Wclippy::mut_mut \ -Wclippy::needless_bitwise_bool \ -Wclippy::needless_continue \ + -Aclippy::needless_lifetimes \ -Wclippy::no_mangle_with_rust_abi \ -Wclippy::dbg_macro