Skip to content

Commit 737f78c

Browse files
committed
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
1 parent 4a97386 commit 737f78c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_suite/tests/test_macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![deny(trivial_numeric_casts)]
2-
#![allow(clippy::redundant_field_names)]
2+
#![allow(clippy::enum_variant_names, clippy::redundant_field_names)]
33

44
mod bytes;
55

0 commit comments

Comments
 (0)