diff --git a/src/lib.rs b/src/lib.rs index 7332f0ae5..50a6f8237 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -312,6 +312,7 @@ clippy::match_like_matches_macro, clippy::match_single_binding, clippy::needless_doctest_main, + clippy::needless_late_init, clippy::transmute_ptr_to_ptr, clippy::unnecessary_wraps, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704 diff --git a/tests/lexical.rs b/tests/lexical.rs index be730420f..928ad6572 100644 --- a/tests/lexical.rs +++ b/tests/lexical.rs @@ -10,6 +10,7 @@ clippy::float_cmp, clippy::if_not_else, clippy::module_name_repetitions, + clippy::needless_late_init, clippy::shadow_unrelated, clippy::similar_names, clippy::single_match_else,