Skip to content

Commit

Permalink
Ignore too_many_lines clippy pedantic lint in serde_test
Browse files Browse the repository at this point in the history
    error: this function has too many lines (107/100)
       --> serde_test/src/de.rs:128:5
        |
    128 | /     fn deserialize_any<V>(self, visitor: V) -> Result<V::Value, Error>
    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
  • Loading branch information
dtolnay committed Jan 24, 2021
1 parent e6b6602 commit 84ad76b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions serde_test/src/lib.rs
Expand Up @@ -158,6 +158,7 @@
module_name_repetitions,
must_use_candidate,
redundant_field_names,
too_many_lines,
use_debug,
use_self
)
Expand Down

0 comments on commit 84ad76b

Please sign in to comment.