From 0ee71c70af8e0b6f29c1c696538fb2ebc081e2d2 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 1 Jul 2022 19:41:09 -0700 Subject: [PATCH] Ignore explicit_auto_deref clippy lint error: deref which would be done by auto-deref --> serde/src/de/impls.rs:2014:59 | 2014 | ... Err(Error::unknown_field(&*value, FIELDS)) | ^^^^^^ help: try this: `value` | = note: `-D clippy::explicit-auto-deref` implied by `-D clippy::all` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref error: deref which would be done by auto-deref --> serde/src/de/impls.rs:2354:55 | 2354 | ... Err(Error::unknown_field(&*value, FIELDS)) | ^^^^^^ help: try this: `value` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref --- serde/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/serde/src/lib.rs b/serde/src/lib.rs index 4511f477..c50231bb 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -120,6 +120,7 @@ // correctly used derive_partial_eq_without_eq, enum_glob_use, + explicit_auto_deref, let_underscore_drop, map_err_ignore, result_unit_err,