From 0e1c4093c857d4550573386a1da907707ca6af17 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 27 Oct 2020 19:20:45 -0700 Subject: [PATCH] Suppress new result_unit_err clippy lint --- serde/src/lib.rs | 1 + serde_derive_internals/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/serde/src/lib.rs b/serde/src/lib.rs index 0acf0583..61b1af21 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -119,6 +119,7 @@ // correctly used enum_glob_use, map_err_ignore, + result_unit_err, wildcard_imports, // not practical needless_pass_by_value, diff --git a/serde_derive_internals/lib.rs b/serde_derive_internals/lib.rs index ce96383b..5bc76756 100644 --- a/serde_derive_internals/lib.rs +++ b/serde_derive_internals/lib.rs @@ -6,6 +6,7 @@ allow( cognitive_complexity, redundant_field_names, + result_unit_err, trivially_copy_pass_by_ref, wildcard_in_or_patterns, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704