From f33b6dc4947c49fd2d0de74d2d165a3137687517 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Fri, 25 Feb 2022 12:51:04 +0100 Subject: [PATCH] Remove renamed warn-by-default lints, v6 lint set `disallowed_type` and `disallowed_method` has been renamed to plural names in Rust 1.59 and also now are warn-by-default so we do not need to enable them anymore explicitly --- lints.rs | 4 +--- lints.toml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/lints.rs b/lints.rs index 7ce858f..6b27073 100644 --- a/lints.rs +++ b/lints.rs @@ -1,4 +1,4 @@ -// BEGIN - Embark standard lints v5 for Rust 1.55+ +// BEGIN - Embark standard lints v6 for Rust 1.55+ // do not change or add/remove here, but one can add exceptions after this section // for more info see: #![deny(unsafe_code)] @@ -9,8 +9,6 @@ clippy::checked_conversions, clippy::dbg_macro, clippy::debug_assert_with_mut_call, - clippy::disallowed_method, - clippy::disallowed_type, clippy::doc_markdown, clippy::empty_enum, clippy::enum_glob_use, diff --git a/lints.toml b/lints.toml index 3066c87..ee069bc 100644 --- a/lints.toml +++ b/lints.toml @@ -2,7 +2,7 @@ [target.'cfg(all())'] rustflags = [ - # BEGIN - Embark standard lints v5 for Rust 1.55+ + # BEGIN - Embark standard lints v6 for Rust 1.55+ # do not change or add/remove here, but one can add exceptions after this section # for more info see: "-Dunsafe_code", @@ -12,8 +12,6 @@ rustflags = [ "-Wclippy::checked_conversions", "-Wclippy::dbg_macro", "-Wclippy::debug_assert_with_mut_call", - "-Wclippy::disallowed_method", - "-Wclippy::disallowed_type", "-Wclippy::doc_markdown", "-Wclippy::empty_enum", "-Wclippy::enum_glob_use",