Ignore redundant_field_names lint

This commit is contained in:
David Tolnay
2018-02-27 11:13:26 -08:00
parent 8bba8447ef
commit d6f07f2f47
6 changed files with 10 additions and 8 deletions
+2 -2
View File
@@ -23,8 +23,8 @@
//! [https://serde.rs/derive.html]: https://serde.rs/derive.html
#![doc(html_root_url = "https://docs.rs/serde_derive/1.0.27")]
#![cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))]
#![cfg_attr(feature = "cargo-clippy", allow(used_underscore_binding))]
#![cfg_attr(feature = "cargo-clippy", allow(enum_variant_names, redundant_field_names,
too_many_arguments, used_underscore_binding))]
// The `quote!` macro requires deep recursion.
#![recursion_limit = "256"]