Ignore enum_variant_names Clippy lint in test suite

error: all variants have the same prefix: `Serialize`
        --> test_suite/tests/test_macros.rs:1741:5
         |
    1741 | /     enum E {
    1742 | |         #[serde(rename_all = "camelCase")]
    1743 | |         Serialize {
    1744 | |             serialize: bool,
    ...    |
    1756 | |         },
    1757 | |     }
         | |_____^
         |
         = note: `-D clippy::enum-variant-names` implied by `-D clippy::all`
         = help: remove the prefixes and use full paths to the variants instead of glob imports
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
This commit is contained in:
David Tolnay 2021-11-04 20:05:54 -07:00
parent 4a97386cb9
commit 737f78c315
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -1,5 +1,5 @@
#![deny(trivial_numeric_casts)]
#![allow(clippy::redundant_field_names)]
#![allow(clippy::enum_variant_names, clippy::redundant_field_names)]
mod bytes;