diff --git a/precompiled/serde_derive/src/lib.rs b/precompiled/serde_derive/src/lib.rs index 8d86a70d..e96a7722 100644 --- a/precompiled/serde_derive/src/lib.rs +++ b/precompiled/serde_derive/src/lib.rs @@ -14,7 +14,6 @@ //! [https://serde.rs/derive.html]: https://serde.rs/derive.html #![doc(html_root_url = "https://docs.rs/serde_derive/1.0.176")] -#![allow(unknown_lints, bare_trait_objects)] #[cfg(not(all(target_arch = "x86_64", target_os = "linux", target_env = "gnu")))] include!("lib_from_source.rs"); diff --git a/serde_derive/src/internals/ast.rs b/serde_derive/src/internals/ast.rs index 5a9ee4e6..beed5d89 100644 --- a/serde_derive/src/internals/ast.rs +++ b/serde_derive/src/internals/ast.rs @@ -119,7 +119,7 @@ impl<'a> Container<'a> { } impl<'a> Data<'a> { - pub fn all_fields(&'a self) -> Box> + 'a> { + pub fn all_fields(&'a self) -> Box> + 'a> { match self { Data::Enum(variants) => { Box::new(variants.iter().flat_map(|variant| variant.fields.iter())) diff --git a/serde_derive/src/lib.rs b/serde_derive/src/lib.rs index 71da2fa7..ad7fb8e1 100644 --- a/serde_derive/src/lib.rs +++ b/serde_derive/src/lib.rs @@ -14,7 +14,6 @@ //! [https://serde.rs/derive.html]: https://serde.rs/derive.html #![doc(html_root_url = "https://docs.rs/serde_derive/1.0.176")] -#![allow(unknown_lints, bare_trait_objects)] // Ignored clippy lints #![allow( // clippy false positive: https://github.com/rust-lang/rust-clippy/issues/7054 diff --git a/serde_derive_internals/lib.rs b/serde_derive_internals/lib.rs index 9842b39b..67d8609f 100644 --- a/serde_derive_internals/lib.rs +++ b/serde_derive_internals/lib.rs @@ -1,5 +1,4 @@ #![doc(html_root_url = "https://docs.rs/serde_derive_internals/0.28.0")] -#![allow(unknown_lints, bare_trait_objects)] // Ignored clippy lints #![allow( clippy::cognitive_complexity,