Update serde_derive_internals to tool attrs

This commit is contained in:
David Tolnay 2021-01-24 16:07:38 -08:00
parent b91713e824
commit d1975f3661
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -1,18 +1,15 @@
#![doc(html_root_url = "https://docs.rs/serde_derive_internals/0.25.0")] #![doc(html_root_url = "https://docs.rs/serde_derive_internals/0.25.0")]
#![allow(unknown_lints, bare_trait_objects)] #![allow(unknown_lints, bare_trait_objects)]
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] #![deny(clippy::all)]
#![cfg_attr( #![allow(
feature = "cargo-clippy", clippy::cognitive_complexity,
allow( clippy::redundant_field_names,
cognitive_complexity, clippy::result_unit_err,
redundant_field_names, clippy::should_implement_trait,
result_unit_err, clippy::trivially_copy_pass_by_ref,
should_implement_trait, clippy::wildcard_in_or_patterns,
trivially_copy_pass_by_ref, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
wildcard_in_or_patterns, clippy::unnested_or_patterns,
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
unnested_or_patterns,
)
)] )]
#[macro_use] #[macro_use]