From 84ad76b2e5dfb1a8baf734a0dabb2a74d5fba580 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 23 Jan 2021 20:04:25 -0800 Subject: [PATCH] Ignore too_many_lines clippy pedantic lint in serde_test error: this function has too many lines (107/100) --> serde_test/src/de.rs:128:5 | 128 | / fn deserialize_any(self, visitor: V) -> Result 129 | | where 130 | | V: Visitor<'de>, 131 | | { ... | 238 | | } 239 | | } | |_____^ | note: the lint level is defined here --> serde_test/src/lib.rs:149:52 | 149 | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] | ^^^^^^^^^^^^^^^ = note: `#[deny(clippy::too_many_lines)]` implied by `#[deny(clippy::pedantic)]` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines --- serde_test/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/serde_test/src/lib.rs b/serde_test/src/lib.rs index 8bec45f6..65618e71 100644 --- a/serde_test/src/lib.rs +++ b/serde_test/src/lib.rs @@ -158,6 +158,7 @@ module_name_repetitions, must_use_candidate, redundant_field_names, + too_many_lines, use_debug, use_self )