diff --git a/serde/src/lib.rs b/serde/src/lib.rs index 021ae9b5..50ce26e6 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -82,6 +82,7 @@ // https://github.com/serde-rs/serde/issues/812 #![cfg_attr(feature = "unstable", feature(specialization, never_type))] #![cfg_attr(feature = "alloc", feature(alloc))] +#![allow(unknown_lints, bare_trait_objects)] #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] // Ignored clippy and clippy_pedantic lints diff --git a/serde_derive/src/lib.rs b/serde_derive/src/lib.rs index bf0f2c0f..fb196076 100644 --- a/serde_derive/src/lib.rs +++ b/serde_derive/src/lib.rs @@ -14,6 +14,7 @@ //! [https://serde.rs/derive.html]: https://serde.rs/derive.html #![doc(html_root_url = "https://docs.rs/serde_derive/1.0.91")] +#![allow(unknown_lints, bare_trait_objects)] #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] // Ignored clippy lints diff --git a/serde_derive_internals/lib.rs b/serde_derive_internals/lib.rs index 373d6880..26d9b1eb 100644 --- a/serde_derive_internals/lib.rs +++ b/serde_derive_internals/lib.rs @@ -1,4 +1,5 @@ #![doc(html_root_url = "https://docs.rs/serde_derive_internals/0.24.1")] +#![allow(unknown_lints, bare_trait_objects)] #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] #![cfg_attr( feature = "cargo-clippy",