mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-13 19:31:02 +00:00
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:
@@ -1,5 +1,5 @@
|
|||||||
#![deny(trivial_numeric_casts)]
|
#![deny(trivial_numeric_casts)]
|
||||||
#![allow(clippy::redundant_field_names)]
|
#![allow(clippy::enum_variant_names, clippy::redundant_field_names)]
|
||||||
|
|
||||||
mod bytes;
|
mod bytes;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user